mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-03 06:29:00 +00:00
tini part 1
This commit is contained in:
1 parent
ca3935f66f
commit
e6c1b4cc4a
27 files changed
+135
-84
No files matched your search
@@ -27,12 +27,14 @@ LABEL author="Matthew Penner" maintainer="[email protected]"
|
||||
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
||||
LABEL org.opencontainers.image.licenses=MIT
|
||||
|
||||
RUN apk add --update --no-cache ca-certificates tzdata \
|
||||
RUN apk add --update --no-cache ca-certificates tzdata tini \
|
||||
&& adduser -D -h /home/container container
|
||||
|
||||
USER container
|
||||
ENV USER=container HOME=/home/container
|
||||
WORKDIR /home/container
|
||||
|
||||
COPY ./entrypoint.sh /entrypoint.sh
|
||||
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"]
|
||||
Reference in new issue
Block a user