Skip to content

Commit

Permalink
Merge pull request #210 from fluxcd/alpine-3.13
Browse files Browse the repository at this point in the history
Update Alpine to v3.13
  • Loading branch information
hiddeco committed Feb 7, 2021
2 parents 53db78a + 3e32dc8 commit 845d3a8
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 845d3a8

Please sign in to comment.