add tini to dayz

This commit is contained in:
Quinten
2023-11-18 14:18:35 +01:00
committed by GitHub
parent 71f1752fda
commit a02fea5fd6

View File

@@ -26,7 +26,8 @@ RUN dpkg --add-architecture i386 \
libstdc++6:i386 \
lib32stdc++6 \
libcap2 \
libnss-wrapper
libnss-wrapper \
tini
## Configure locale
RUN update-locale lang=en_US.UTF-8 \
@@ -45,6 +46,9 @@ USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
## Copy over and execute entrypoint.sh
COPY ./entrypoint.sh /entrypoint.sh
CMD [ "/bin/bash", "/entrypoint.sh" ]
STOPSIGNAL SIGINT
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
CMD ["/entrypoint.sh"]