Last active
April 23, 2019 20:43
-
-
Save ivan-c/62008abbd20f2b08aaafe8ecddf62c79 to your computer and use it in GitHub Desktop.
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 -euxo pipefail | |
# docker install script for debian | |
# https://docs.docker.com/engine/installation/linux/docker-ce/debian/ | |
apt-get update | |
apt-get install --yes --no-install-recommends \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg2 \ | |
software-properties-common | |
curl --fail --silent --show-error --location "https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg" | apt-key add - | |
apt-key fingerprint 0EBFCD88 | |
add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \ | |
$(lsb_release -cs) \ | |
stable" | |
apt-get update | |
apt-get install --yes --no-install-recommends docker-ce |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment