Mon, 10 Sep 2018 13:52:35 +0100
Revamp console output to be driven by log_data()
FROM ubuntu:xenial MAINTAINER Matthew Wild <mwild1@gmail.com> RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ lua5.2 \ lua-cjson \ lua-expat \ lua-sec \ lua-socket \ make \ && rm -rf /var/lib/apt/lists/* RUN ln -s /usr/bin/lua5.2 /usr/local/bin/lua RUN mkdir -p /tmp/build ADD . /tmp/build WORKDIR /tmp/build RUN ./configure && make && install build/scansion /usr/local/bin/scansion && rm -rf /tmp/build ADD verse.lua /usr/local/share/lua/5.2/verse.lua ADD misc/docker-entrypoint.sh /entrypoint.sh RUN chmod a=rx /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"] USER nobody ADD scripts /scripts VOLUME ["/scripts"] WORKDIR /scripts CMD ["basic.scs"]