Last active
May 5, 2018 14:29
-
-
Save dennisstritzke/1c695dd804d9ecf36496a8880a0ebc40 to your computer and use it in GitHub Desktop.
Install latest docker-ce version and OpenShift Client Tools 3.7.2 on Ubuntu.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
set -x | |
# ==> Install Docker | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
apt-key fingerprint 0EBFCD88 | |
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
apt-get update | |
apt-get install -y docker-ce | |
# ==> Install OpenShift Origin Client | |
wget https://github.com/openshift/origin/releases/download/v3.7.2/openshift-origin-client-tools-v3.7.2-282e43f-linux-64bit.tar.gz | |
tar xfz openshift-origin-client-tools-v3.7.2-282e43f-linux-64bit.tar.gz | |
mv openshift-origin-client-tools-v3.7.2-282e43f-linux-64bit/oc /usr/local/bin | |
rm -rf openshift-origin-client-tools* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment