Skip to content

Commit

Permalink
run apk upgrade in Dockerfile (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusfm authored Apr 26, 2024
1 parent c55639e commit 91ac80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build \
-X github.com/undistro/marvin/pkg/version.date=${DATE}" -a -o marvin main.go

FROM alpine:3.19.1

RUN apk upgrade && rm /var/cache/apk/*
RUN addgroup -g 8494 -S nonroot && adduser -u 8494 -D -S nonroot -G nonroot
USER 8494:8494

Expand Down

0 comments on commit 91ac80f

Please sign in to comment.