mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-03 22:21:39 +00:00
merge: Add tini to some more images
Co-Authored-By: Quinten <[email protected]>
This commit is contained in:
9 files changed
+59
-29
No files matched your search
@@ -29,7 +29,8 @@ RUN apk add --no-cache \
|
|||||||
sqlite \
|
sqlite \
|
||||||
tzdata \
|
tzdata \
|
||||||
zip \
|
zip \
|
||||||
libc6-compat
|
libc6-compat \
|
||||||
|
tini
|
||||||
|
|
||||||
# updating npm
|
# updating npm
|
||||||
RUN npm install npm@latest -g
|
RUN npm install npm@latest -g
|
||||||
@@ -49,5 +50,9 @@ USER container
|
|||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
STOPSIGNAL SIGINT
|
||||||
CMD ["/bin/ash", "/entrypoint.sh"]
|
|
||||||
|
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
|
||||||
|
RUN chmod +x /entrypoint.sh
|
||||||
|
ENTRYPOINT ["/sbin/tini", "-g", "--"]
|
||||||
|
CMD ["/entrypoint.sh"]
|
||||||
@@ -12,6 +12,9 @@ USER container
|
|||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
ENTRYPOINT []
|
STOPSIGNAL SIGINT
|
||||||
COPY ./../entrypoint.sh /entrypoint.sh
|
|
||||||
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
|
RUN chmod +x /entrypoint.sh
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||||
|
CMD ["/entrypoint.sh"]
|
||||||
@@ -12,6 +12,9 @@ USER container
|
|||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
ENTRYPOINT []
|
STOPSIGNAL SIGINT
|
||||||
COPY ./../entrypoint.sh /entrypoint.sh
|
|
||||||
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
|
RUN chmod +x /entrypoint.sh
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||||
|
CMD ["/entrypoint.sh"]
|
||||||
@@ -10,6 +10,9 @@ USER container
|
|||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
ENTRYPOINT []
|
STOPSIGNAL SIGINT
|
||||||
COPY ./../entrypoint.sh /entrypoint.sh
|
|
||||||
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
|
RUN chmod +x /entrypoint.sh
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||||
|
CMD ["/entrypoint.sh"]
|
||||||
@@ -10,6 +10,9 @@ USER container
|
|||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
ENTRYPOINT []
|
STOPSIGNAL SIGINT
|
||||||
COPY ./../entrypoint.sh /entrypoint.sh
|
|
||||||
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
|
RUN chmod +x /entrypoint.sh
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||||
|
CMD ["/entrypoint.sh"]
|
||||||
@@ -10,6 +10,9 @@ USER container
|
|||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
ENTRYPOINT []
|
STOPSIGNAL SIGINT
|
||||||
COPY ./../entrypoint.sh /entrypoint.sh
|
|
||||||
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
|
RUN chmod +x /entrypoint.sh
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||||
|
CMD ["/entrypoint.sh"]
|
||||||
@@ -10,6 +10,9 @@ USER container
|
|||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
ENTRYPOINT []
|
STOPSIGNAL SIGINT
|
||||||
COPY ./../entrypoint.sh /entrypoint.sh
|
|
||||||
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
|
RUN chmod +x /entrypoint.sh
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||||
|
CMD ["/entrypoint.sh"]
|
||||||
@@ -10,6 +10,9 @@ USER container
|
|||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
ENTRYPOINT []
|
STOPSIGNAL SIGINT
|
||||||
COPY ./../entrypoint.sh /entrypoint.sh
|
|
||||||
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
|
RUN chmod +x /entrypoint.sh
|
||||||
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||||
|
CMD ["/entrypoint.sh"]
|
||||||
@@ -14,7 +14,7 @@ RUN apt update \
|
|||||||
## Install dependencies
|
## Install dependencies
|
||||||
RUN apt install -y libc++-dev liblzo2-2 cabextract net-tools libatomic1 libsdl1.2debian libsdl2-2.0-0 \
|
RUN apt install -y libc++-dev liblzo2-2 cabextract net-tools libatomic1 libsdl1.2debian libsdl2-2.0-0 \
|
||||||
libfontconfig libicu67 icu-devtools libunwind8 libssl-dev sqlite3 libsqlite3-dev libmariadbclient-dev-compat libduktape205 ffmpeg apt-transport-https software-properties-common ca-certificates \
|
libfontconfig libicu67 icu-devtools libunwind8 libssl-dev sqlite3 libsqlite3-dev libmariadbclient-dev-compat libduktape205 ffmpeg apt-transport-https software-properties-common ca-certificates \
|
||||||
libz-dev rapidjson-dev tzdata libevent-dev libzip4 libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libgdiplus
|
libz-dev rapidjson-dev tzdata libevent-dev libzip4 libsdl2-mixer-2.0-0 libsdl2-image-2.0-0 libgdiplus tini
|
||||||
|
|
||||||
RUN dpkg --add-architecture armhf \
|
RUN dpkg --add-architecture armhf \
|
||||||
&& apt update -y \
|
&& apt update -y \
|
||||||
@@ -43,10 +43,14 @@ WORKDIR /home/container
|
|||||||
## Prepare NSS Wrapper for the entrypoint as a workaround for Valheim requiring a valid UID
|
## Prepare NSS Wrapper for the entrypoint as a workaround for Valheim requiring a valid UID
|
||||||
ENV NSS_WRAPPER_PASSWD=/tmp/passwd NSS_WRAPPER_GROUP=/tmp/group
|
ENV NSS_WRAPPER_PASSWD=/tmp/passwd NSS_WRAPPER_GROUP=/tmp/group
|
||||||
RUN touch ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \
|
RUN touch ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \
|
||||||
&& chgrp 0 ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \
|
&& chgrp 0 ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP} \
|
||||||
&& chmod g+rw ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP}
|
&& chmod g+rw ${NSS_WRAPPER_PASSWD} ${NSS_WRAPPER_GROUP}
|
||||||
ADD passwd.template /passwd.template
|
ADD passwd.template /passwd.template
|
||||||
|
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
STOPSIGNAL SIGINT
|
||||||
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
|
||||||
|
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