Skip to content

Commit

Permalink
using nonroot distroless image
Browse files Browse the repository at this point in the history
  • Loading branch information
timbastin committed Dec 27, 2024
1 parent ebfe07c commit e9f90af
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 @@ COPY . .
# build the scanner
RUN CGO_ENABLED=0 go build -buildvcs=false -o devguard-operator .

FROM gcr.io/distroless/static-debian12:debug
FROM gcr.io/distroless/static-debian12:nonroot

COPY --from=golang-builder /app/devguard-operator /usr/local/bin/devguard-operator
COPY --from=golang-builder /usr/local/bin/trivy /usr/local/bin/trivy
Expand Down

0 comments on commit e9f90af

Please sign in to comment.