Skip to content

Commit

Permalink
use gcr.io/distroless/static (rootful)
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh authored and tekton-robot committed Mar 29, 2022
1 parent b5c45ec commit 270747a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .ko.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ baseImageOverrides:
# git-init uses a base image that includes Git, and supports running either
# as root or as user nonroot with UID 65532.
github.com/tektoncd/pipeline/cmd/git-init: gcr.io/tekton-nightly/github.com/tektoncd/pipeline/git-init-build-base:latest

# pullrequest-init supports running either as root or as user with UID 65532.
github.com/tektoncd/pipeline/cmd/pullrequest-init: gcr.io/distroless/static
1 change: 1 addition & 0 deletions tekton/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ spec:
# This matches values configured in .ko.yaml
$(params.package)/cmd/git-init: ${CONTAINER_REGISTRY}/$(params.package)/git-init-build-base:latest
$(params.package)/cmd/pullrequest-init: gcr.io/distroless/static
EOF
cat ${PROJECT_ROOT}/.ko.yaml
Expand Down

0 comments on commit 270747a

Please sign in to comment.