We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b046424 commit faeb50cCopy full SHA for faeb50c
base.Dockerfile
@@ -2,4 +2,12 @@
2
3
FROM openshift/origin-release:golang-1.13
4
5
-RUN yum install -y skopeo
+# Install test dependencies
6
+RUN yum install -y skopeo && \
7
+ export OS=$(go env GOOS) && \
8
+ export ARCH=$(go env GOARCH) && \
9
+ curl -L "https://go.kubebuilder.io/dl/2.3.1/${OS}/${ARCH}" | tar -xz -C /tmp/ && \
10
+ mv /tmp/kubebuilder_2.3.1_${OS}_${ARCH}/ /usr/local/kubebuilder && \
11
+ export PATH=$PATH:/usr/local/kubebuilder/bin && \
12
+ echo "Kubebuilder installation complete!"
13
+
0 commit comments