Set Fixed Alpine Version (#217)

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 09:18:53 +00:00 committed by GitHub
parent e964fdb147
commit d61337fed3
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 .
# Stage 3: Create a lightweight image with just the binary
FROM alpine:latest
FROM alpine:3.21.2
ENV GIN_MODE=release