1
0
mirror of https://github.com/factoriotools/factorio-docker.git synced 2024-11-24 08:22:14 +02:00

run with tini

This commit is contained in:
David Andersen 2016-10-31 19:55:01 +00:00
parent d94543bbcd
commit 833de3cc46

View File

@ -7,7 +7,7 @@ COPY ./factorio.crt /opt/factorio.crt
ENV VERSION=0.14.17 \
SHA1=ffb248fabed345aafadb6a8cdef3684312ac240f
RUN apk --update --no-cache add bash curl && \
RUN apk --update --no-cache add bash curl tini && \
curl -sSL --cacert /opt/factorio.crt \
https://www.factorio.com/get-download/$VERSION/headless/linux64 \
-o /tmp/factorio_headless_x64_$VERSION.tar.gz && \
@ -26,4 +26,5 @@ EXPOSE 34197/udp 27015/tcp
COPY ./docker-entrypoint.sh /
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/docker-entrypoint.sh"]