Delete docker-install.sh

This commit is contained in:
Tobias Schmidl 2020-01-31 11:00:19 +01:00 committed by GitHub
parent 92cc4289c1
commit 847db6cd4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +0,0 @@
#! /bin/bash
# fail immediately on error
set -e
[ "$UID" -ne 0 ] && { echo "You must run this script as root." >&2; exit 1; }
(DISTRO=$(lsb_release -is | tr '[A-Z]' '[a-z]'); curl -LSsf https://download.docker.com/linux/$DISTRO/gpg | apt-key add - && \
add-apt-repository "deb https://download.docker.com/linux/$DISTRO $(lsb_release -cs) stable" && \
apt-get install -y docker-ce)