tini part 2

This commit is contained in:
Quinten
2023-07-19 18:20:40 +02:00
parent e6c1b4cc4a
commit 0cc5ef2369
20 changed files with 100 additions and 61 deletions

View File

@@ -6,7 +6,7 @@ LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
LABEL org.opencontainers.image.licenses=MIT
## install dependencies
RUN apk add --no-cache murmur
RUN apk add --no-cache murmur tini
RUN adduser -D container
@@ -14,5 +14,7 @@ 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"]