From 199eb7b54060549678518cd7098b94de5b947fd0 Mon Sep 17 00:00:00 2001 From: William Young Date: Wed, 30 Mar 2022 12:16:46 +0200 Subject: [PATCH] OKD V 4.10.0.0 --- Containerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Containerfile diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..29c0aba --- /dev/null +++ b/Containerfile @@ -0,0 +1,11 @@ +FROM alpine:3.15.3 +RUN apk --no-cache add ca-certificates curl libc6-compat &&\ + curl -LO "https://github.com/openshift/okd/releases/download/4.10.0-0.okd-2022-03-07-131213/openshift-client-linux-4.10.0-0.okd-2022-03-07-131213.tar.gz" &&\ + curl -LO "https://github.com/openshift/okd/releases/download/4.10.0-0.okd-2022-03-07-131213/sha256sum.txt" &&\ + cat sha256sum.txt | grep openshift-client-linux | sha256sum -c &&\ + mkdir okd-client &&\ + cd okd-client &&\ + tar -xf ../openshift-client-linux-* &&\ + mv oc kubectl /usr/local/bin &&\ + cd .. &&\ + rm -rf okd-client openshift-client-linux-* sha256sum.txt