Skip to content

Commit

Permalink
fix: move docker base to static-debian11 nonroot (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
vascoalramos committed Apr 26, 2023
1 parent d0e4477 commit d6443fa
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 @@ -12,7 +12,7 @@ RUN cd /workspace && go mod download
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -o main -a cmd/main.go

# Use distroless as minimal base image to package the manager binary
FROM gcr.io/distroless/base:latest-amd64
FROM gcr.io/distroless/static-debian11:nonroot

WORKDIR /

Expand Down

0 comments on commit d6443fa

Please sign in to comment.