File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Dockerfile to bootstrap build and test in openshift-ci
2
-
3
2
FROM openshift/origin-release:golang-1.15
4
3
4
+ ARG KUBEBUILDER_RELEASE=2.3.1
5
5
# Install test dependencies
6
6
RUN yum install -y skopeo && \
7
7
export OS=$(go env GOOS) && \
8
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 && \
9
+ curl -L "https://go.kubebuilder.io/dl/${KUBEBUILDER_RELEASE} /${OS}/${ARCH}" | tar -xz -C /tmp/ && \
10
+ mv /tmp/kubebuilder_${KUBEBUILDER_RELEASE}_ ${OS}_${ARCH}/ /usr/local/kubebuilder && \
11
11
export PATH=$PATH:/usr/local/kubebuilder/bin && \
12
12
echo "Kubebuilder installation complete!"
You can’t perform that action at this time.
0 commit comments