Skip to content

Commit

Permalink
feat: run host-built containers as non-root
Browse files Browse the repository at this point in the history
  • Loading branch information
lkingland committed Aug 10, 2023
1 parent 399ab7d commit 4596ad9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/oci/containerize.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ func newConfig(cfg *buildConfig, p v1.Platform, layers ...v1.Layer) (desc v1.Des
Cmd: []string{"/func/f"}, // NOTE: Using Cmd because Entrypoint can not be overridden
WorkingDir: "/func/",
StopSignal: "SIGKILL",
User: "1000",
Volumes: volumes,
// Labels
// History
Expand Down

0 comments on commit 4596ad9

Please sign in to comment.