Set Fixed Alpine Version

The Dockerfile lacks reproducibility during the build process if the container images in use are not pinned to a specific version.
This commit is contained in:
Kaindl Network 2025-02-11 01:49:44 +01:00 committed by GitHub
parent e964fdb147
commit 6bf4618266
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,7 +82,7 @@ RUN sed -i \
RUN CGO_ENABLED=1 GOMAXPROCS=$(nproc) go build -tags musl -o paperless-gpt . RUN CGO_ENABLED=1 GOMAXPROCS=$(nproc) go build -tags musl -o paperless-gpt .
# Stage 3: Create a lightweight image with just the binary # Stage 3: Create a lightweight image with just the binary
FROM alpine:latest FROM alpine:3.21.2
ENV GIN_MODE=release ENV GIN_MODE=release