Skip to content

Commit

Permalink
Use non root image
Browse files Browse the repository at this point in the history
  • Loading branch information
agbpatro authored Oct 17, 2024
1 parent 3ee2bec commit 33fc2e1
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 @@ -10,7 +10,7 @@ COPY . .
RUN mkdir build
RUN go build -o ./build ./...

FROM gcr.io/distroless/base-debian12 AS runtime
FROM gcr.io/distroless/base-debian12:nonroot AS runtime

COPY --from=build /app/build /usr/local/bin

Expand Down

0 comments on commit 33fc2e1

Please sign in to comment.