mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-28 08:38:47 +02: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 \
|
||||
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"]
|
||||
|
Loading…
Reference in New Issue
Block a user