Installing Openshift on Alpine Linux Latest
Update your Alpine Linux system:
apk update && apk upgradeInstall the necessary packages:
apk add ca-certificates wget tar gzipDownload the latest version of Openshift Origin:
wget -O openshift-origin-client-tools.tar.gz \ https://github.com/openshift/origin/releases/download/v4.7.0-0.okd-2021-08-08-144702/openshift-client-linux.tar.gzExtract the downloaded file:
tar zxvf openshift-origin-client-tools.tar.gzMove the extracted directory to the executable path:
mv openshift-*-linux /usr/local/bin/openshiftTest the installation by running the
occommand:oc versionThe output should display the version number of the installed Openshift Origin.
Congratulations! You have successfully installed Openshift Origin on Alpine Linux Latest.