mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-10-12 15:23:17 +01:00
feat: add 7.x source code
This commit is contained in:
15
build/Dockerfile.cloudrun
Normal file
15
build/Dockerfile.cloudrun
Normal file
@@ -0,0 +1,15 @@
|
||||
# Note: ARG instructions do not create additional layers.
|
||||
# Instead, next layers will concatenate them.
|
||||
ARG DOCKER_REGISTRY
|
||||
ARG GOTENBERG_VERSION
|
||||
|
||||
FROM $DOCKER_REGISTRY/gotenberg:$GOTENBERG_VERSION
|
||||
|
||||
USER root
|
||||
|
||||
# For security reasons, the non-root user gotenberg does not own the Tini binary by default.
|
||||
# However, some providers like Cloud Run from Google Cloud cannot start a Docker container in that case.
|
||||
# See https://github.com/thecodingmachine/gotenberg/issues/90#issuecomment-543551353.
|
||||
RUN chown gotenberg: /usr/bin/tini
|
||||
|
||||
USER gotenberg
|
||||
Reference in New Issue
Block a user