Skip to content

Commit

Permalink
fix: move docker base to static-debian11 nonroot (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
vascoalramos authored Apr 26, 2023
1 parent e0591b2 commit 5080d10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ RUN go mod download
RUN go build -a -o main "./cmd/${COMPILE_CMD}"

# 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 /

LABEL org.opencontainers.image.source https://github.com/ydataai/azure-adapter
Expand Down

0 comments on commit 5080d10

Please sign in to comment.