forked from knative-extensions/net-istio
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathDockerfile
executable file
·26 lines (16 loc) · 950 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# DO NOT EDIT! Generated Dockerfile.
FROM registry.ci.openshift.org/ocp/4.17:cli-artifacts as tools
# Dockerfile to bootstrap build and test in openshift-ci
FROM registry.ci.openshift.org/openshift/release:rhel-8-release-golang-1.23-openshift-4.17 as builder
ARG TARGETARCH
COPY --from=tools /usr/share/openshift/linux_$TARGETARCH/oc.rhel8 /usr/bin/oc
RUN ln -s /usr/bin/oc /usr/bin/kubectl
RUN yum install -y httpd-tools
RUN wget https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 && \
chmod 700 ./get-helm-3
RUN ./get-helm-3 --version v3.11.3 --no-sudo && helm version
RUN GOFLAGS='' go install github.com/mikefarah/yq/v3@latest
RUN GOFLAGS='' go install -tags="exclude_graphdriver_btrfs containers_image_openpgp" github.com/containers/skopeo/cmd/[email protected]
# 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