Skip to content

Commit

Permalink
Use non root image (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
agbpatro authored Oct 21, 2024
1 parent f171b13 commit 5a61b6a
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 5a61b6a

Please sign in to comment.