Skip to content

Commit

Permalink
Helloworld image running with non root user (knative#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgencur committed Mar 21, 2023
1 parent 792d3e8 commit 09fec4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_images/helloworld/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@ RUN apk add --no-cache ca-certificates
# Copy the binary to the production image from the builder stage.
COPY --from=builder /app/server /server

USER 65532

# Run the web service on container startup.
CMD ["/server"]

0 comments on commit 09fec4a

Please sign in to comment.