Skip to content

Commit

Permalink
Update Alpine to v3.13
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <[email protected]>
  • Loading branch information
stefanprodan committed Feb 7, 2021
1 parent 53db78a commit 3e32dc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ COPY internal/ internal/
# build without specifing the arch
RUN CGO_ENABLED=0 go build -a -o helm-controller main.go

FROM alpine:3.12
FROM alpine:3.13

# link repo to the GitHub Container Registry image
LABEL org.opencontainers.image.source="https://github.com/fluxcd/helm-controller"
Expand All @@ -30,7 +30,7 @@ RUN apk add --no-cache ca-certificates tini

COPY --from=builder /workspace/helm-controller /usr/local/bin/

RUN addgroup -S controller && adduser -S -g controller controller
RUN addgroup -S controller && adduser -S controller -G controller

USER controller

Expand Down

0 comments on commit 3e32dc8

Please sign in to comment.