Skip to content

Commit

Permalink
fix: nonroot image
Browse files Browse the repository at this point in the history
Signed-off-by: Mateusz Urbanek <[email protected]>
  • Loading branch information
shanduur committed Oct 24, 2024
1 parent 7c1d546 commit 25535a4
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 @@ -49,7 +49,7 @@ RUN make build VERSION=${VERSION}
#########################################################################################

# Second stage: building final environment for running the executable.
FROM gcr.io/distroless/static:latest AS runtime
FROM gcr.io/distroless/static:nonroot AS runtime

# Copy the executable.
COPY --from=builder --chown=65532:65532 /work/bin/linode-cosi-driver /usr/bin/linode-cosi-driver
Expand Down

0 comments on commit 25535a4

Please sign in to comment.