mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2025-01-27 17:54:45 +01:00
run with tini
This commit is contained in:
parent
d94543bbcd
commit
833de3cc46
@ -7,7 +7,7 @@ COPY ./factorio.crt /opt/factorio.crt
|
|||||||
ENV VERSION=0.14.17 \
|
ENV VERSION=0.14.17 \
|
||||||
SHA1=ffb248fabed345aafadb6a8cdef3684312ac240f
|
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 \
|
curl -sSL --cacert /opt/factorio.crt \
|
||||||
https://www.factorio.com/get-download/$VERSION/headless/linux64 \
|
https://www.factorio.com/get-download/$VERSION/headless/linux64 \
|
||||||
-o /tmp/factorio_headless_x64_$VERSION.tar.gz && \
|
-o /tmp/factorio_headless_x64_$VERSION.tar.gz && \
|
||||||
@ -26,4 +26,5 @@ EXPOSE 34197/udp 27015/tcp
|
|||||||
|
|
||||||
COPY ./docker-entrypoint.sh /
|
COPY ./docker-entrypoint.sh /
|
||||||
|
|
||||||
|
ENTRYPOINT ["/sbin/tini", "--"]
|
||||||
CMD ["/docker-entrypoint.sh"]
|
CMD ["/docker-entrypoint.sh"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user