chore: upgrade alpine packages on image build

This commit is contained in:
Elias Schneider
2026-09-15 15:47:45 +02:00
parent 1ee34fddea
commit d2c2cdaa5d
3 changed files with 7 additions and 2 deletions
+3
View File
@@ -110,6 +110,9 @@ dockers_v2:
platforms:
- linux/amd64
- linux/arm64
flags:
- "--pull=true"
- "--no-cache=true"
labels:
"org.opencontainers.image.authors": "Pocket ID"
"org.opencontainers.image.url": "https://github.com/pocket-id/pocket-id"
+2 -1
View File
@@ -51,7 +51,8 @@ RUN --mount=type=cache,target=/go/pkg/mod \
FROM alpine:3.24.1
WORKDIR /app
RUN apk add --no-cache su-exec
RUN apk upgrade --no-cache && \
apk add --no-cache su-exec
COPY --from=backend-builder /build/pocket-id /app/pocket-id
COPY ./scripts/docker /app/docker
+2 -1
View File
@@ -9,7 +9,8 @@ ARG TARGETVARIANT
WORKDIR /app
RUN apk add --no-cache su-exec
RUN apk upgrade --no-cache && \
apk add --no-cache su-exec
COPY linux/${TARGETARCH}/${TARGETVARIANT}/pocket-id /app/pocket-id
COPY ./scripts/docker /app/docker