mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-01 14:38:59 +00:00
add tini to dayz
This commit is contained in:
1 parent
71f1752fda
commit
a02fea5fd6
1 file changed
+8
-4
@@ -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"]
|
||||
Reference in new issue
Block a user