Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ RUN go build -o gotenberg -ldflags "-s -w -X 'github.com/gotenberg/gotenberg/v8/
# Custom JRE stage
# Credits: https://github.com/jodconverter/docker-image-jodconverter-runtime
# ----------------------------------------------
FROM debian:13-slim AS custom-jre-stage
FROM debian:13-slim@sha256:1d3c811171a08a5adaa4a163fbafd96b61b87aa871bbc7aa15431ac275d3d430 AS custom-jre-stage

# Setting DOCKERFILE_DATE forces a build cache refresh for the package upgrades
ENV DOCKERFILE_DATE=2026-02-26

RUN \
apt-get update -qq &&\
Expand All @@ -78,7 +81,7 @@ RUN jlink \
# ----------------------------------------------
# Base image stage
# ----------------------------------------------
FROM debian:13-slim AS base-image-stage
FROM debian:13-slim@sha256:1d3c811171a08a5adaa4a163fbafd96b61b87aa871bbc7aa15431ac275d3d430 AS base-image-stage

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

High IaC Finding

Same Alias In Different Froms
on resource FROM debian:13-slim@sha256:1d3c811171a08a5adaa4a163fbafd96b61b87aa871bbc7aa15431ac275d3d430 AS base-image-stage

More Details
Different FROMS can't have the same alias defined

Expected

Different FROM commands don't have the same alias defined

Found

Different FROM commands with the same alias 'base-image-stage' defined

Rule ID: 1b997040-db67-4b61-8eea-6e638bd94d0e


To ignore this finding as an exception, reply to this conversation with #wiz_ignore reason

If you'd like to ignore this finding in all future scans, add an exception in the .wiz file (learn more) or create an Ignore Rule (learn more).


To get more details on how to remediate this issue using AI, reply to this conversation with #wiz remediate


ARG TIMEZONE=UTC
ENV TZ=$TIMEZONE
Expand Down Expand Up @@ -108,6 +111,9 @@ LABEL org.opencontainers.image.title="Gotenberg" \
org.opencontainers.image.documentation="https://gotenberg.dev" \
org.opencontainers.image.source="https://github.com/gotenberg/gotenberg"

# Setting DOCKERFILE_DATE forces a build cache refresh for the package upgrades
ENV DOCKERFILE_DATE=2026-02-26

RUN \
# Create a non-root user.
# All processes in the Docker container will run with this dedicated user.
Expand Down
Loading