mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-17 12:42:16 +01:00
tini no more writeable by gotenberg user
This commit is contained in:
@@ -10,7 +10,7 @@ FROM thecodingmachine/gotenberg:workspace AS workspace
|
|||||||
ARG VERSION
|
ARG VERSION
|
||||||
|
|
||||||
ENV GOOS=linux \
|
ENV GOOS=linux \
|
||||||
GOARCH=amd64 \
|
GOARCH=amd64 \
|
||||||
CGO_ENABLED=0
|
CGO_ENABLED=0
|
||||||
|
|
||||||
# Define our workding outside of $GOPATH (we're using go modules).
|
# Define our workding outside of $GOPATH (we're using go modules).
|
||||||
@@ -42,7 +42,7 @@ LABEL authors="Julien Neuhart <j.neuhart@thecodingmachine.com>"
|
|||||||
|
|
||||||
ARG TINI_VERSION
|
ARG TINI_VERSION
|
||||||
|
|
||||||
ADD --chown=gotenberg https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini-static /tini
|
ADD https://github.com/krallin/tini/releases/download/v${TINI_VERSION}/tini-static /tini
|
||||||
RUN chmod +x /tini
|
RUN chmod +x /tini
|
||||||
ENTRYPOINT [ "/tini", "--" ]
|
ENTRYPOINT [ "/tini", "--" ]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user