File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,10 @@ RUN go build -o gotenberg -ldflags "-s -w -X 'github.com/gotenberg/gotenberg/v8/
5656# Custom JRE stage
5757# Credits: https://github.com/jodconverter/docker-image-jodconverter-runtime
5858# ----------------------------------------------
59- FROM debian:13-slim AS custom-jre-stage
59+ FROM debian:13-slim@sha256:1d3c811171a08a5adaa4a163fbafd96b61b87aa871bbc7aa15431ac275d3d430 AS custom-jre-stage
60+
61+ # Setting DOCKERFILE_DATE forces a build cache refresh for the package upgrades
62+ ENV DOCKERFILE_DATE=2026-02-26
6063
6164RUN \
6265 apt-get update -qq &&\
@@ -78,7 +81,7 @@ RUN jlink \
7881# ----------------------------------------------
7982# Base image stage
8083# ----------------------------------------------
81- FROM debian:13-slim AS base-image-stage
84+ FROM debian:13-slim@sha256:1d3c811171a08a5adaa4a163fbafd96b61b87aa871bbc7aa15431ac275d3d430 AS base-image-stage
8285
8386ARG TIMEZONE=UTC
8487ENV TZ=$TIMEZONE
@@ -108,6 +111,9 @@ LABEL org.opencontainers.image.title="Gotenberg" \
108111 org.opencontainers.image.documentation="https://gotenberg.dev" \
109112 org.opencontainers.image.source="https://github.com/gotenberg/gotenberg"
110113
114+ # Setting DOCKERFILE_DATE forces a build cache refresh for the package upgrades
115+ ENV DOCKERFILE_DATE=2026-02-26
116+
111117RUN \
112118 # Create a non-root user.
113119 # All processes in the Docker container will run with this dedicated user.
You can’t perform that action at this time.
0 commit comments