File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11FROM docker.io/hashicorp/terraform:0.15.5
22
33ENV TERRAFORM_IBMCLOUD_VERSION 1.21.2
4- ENV KUBECTL_VERSION 1.27.2
5- ENV OPENSHIFT_CLI_VERSION 4.7.2
4+ ENV OPENSHIFT_CLI_VERSION 4.7
65
76RUN apk add --update-cache \
87 curl \
@@ -65,7 +64,7 @@ WORKDIR ${HOME}
6564
6665RUN cat ./image-message >> ./.bashrc-ni
6766
68- RUN curl -L https://mirror.openshift.com/pub/openshift-v4/clients/ocp/${OPENSHIFT_CLI_VERSION}/openshift-client-linux.tar.gz --output oc-client.tar.gz && \
67+ RUN curl -L https://mirror.openshift.com/pub/openshift-v4/clients/ocp/stable- ${OPENSHIFT_CLI_VERSION}/openshift-client-linux.tar.gz --output oc-client.tar.gz && \
6968 mkdir tmp && \
7069 cd tmp && \
7170 tar xzf ../oc-client.tar.gz && \
@@ -80,7 +79,7 @@ RUN curl -L https://mirror.openshift.com/pub/openshift-v4/clients/ocp/${OPENSHIF
8079 sudo mv ./oc /usr/local/bin && \
8180 sudo chmod +x /usr/local/bin/oc
8281
83- RUN curl -LO https://storage.googleapis.com/kubernetes- release/release/v${KUBECTL_VERSION} /bin/linux/amd64/kubectl && \
82+ RUN curl -LO " https://dl.k8s.io/ release/$(curl -L -s https://dl.k8s.io/ release/stable.txt) /bin/linux/amd64/kubectl" && \
8483 chmod +x ./kubectl && \
8584 sudo mv ./kubectl /usr/local/bin
8685
You can’t perform that action at this time.
0 commit comments