Skip to content

Commit

Permalink
added hypershift cli to the utility container
Browse files Browse the repository at this point in the history
  • Loading branch information
day0hero committed Aug 14, 2023
1 parent 739be3d commit aca3718
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ curl -sLfO https://mirror.openshift.com/pub/openshift-v4/clients/ocp/${OPENSHIFT
tar xvf openshift-client-linux-${OPTTARGETARCH}${OPENSHIFT_CLIENT_VERSION}.tar.gz -C /usr/local/bin && \
rm -rf openshift-client-linux-${OPTTARGETARCH}${OPENSHIFT_CLIENT_VERSION}.tar.gz && rm -f /usr/local/bin/kubectl && ln -sf /usr/local/bin/oc /usr/local/bin/kubectl && \
curl -sSL -o /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v${YQ_VERSION}/yq_linux_${TARGETARCH} && chmod 755 /usr/local/bin/yq && \
rm -rf /root/anaconda* /root/original-ks.cfg /usr/local/README
rm -rf /root/anaconda* /root/original-ks.cfg /usr/local/README && \
curl -sLfO https://hypershift-cli-download-multicluster-engine.apps.hcpvp.blueprints.rhecoeng.com/linux/amd64/hypershift.tar.gz && \
tar xf hypershift.tar.gz -C /usr/local/bin/ && \
rm -f hypershift.tar.gz

# humanize is only needed for the trimming of the container
# See https://github.com/Azure/azure-sdk-for-python/issues/11149
Expand Down

0 comments on commit aca3718

Please sign in to comment.