tini part 1

This commit is contained in:
Quinten
2023-07-19 18:01:39 +02:00
committed by GitHub
parent ca3935f66f
commit e6c1b4cc4a
27 changed files with 135 additions and 84 deletions

View File

@@ -12,5 +12,7 @@ USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
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"]