Make the gotenberg user owner of /tini binary to fix running image in cloud environments

This commit is contained in:
taylor
2019-10-19 14:34:30 +11:00
committed by Julien Neuhart
parent 8fd51b9e9e
commit 1e1cb8fe57

View File

@@ -42,7 +42,7 @@ LABEL authors="Julien Neuhart <j.neuhart@thecodingmachine.com>"
ARG TINI_VERSION
ADD https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini /tini
ADD --chown=gotenberg https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini /tini
RUN chmod +x /tini
ENTRYPOINT [ "/tini", "--" ]