Fish and Docker install scripts
This commit is contained in:
@@ -1,27 +1,23 @@
|
||||
#!/bin/bash
|
||||
GREY='\033[0;37m'
|
||||
NC='\033[0m'
|
||||
echo "${GREY}andrejusk/dotfiles/docker${NC}"
|
||||
|
||||
if grep -q SomeString "$File"; then
|
||||
|
||||
elif
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
||||
sudo apt-get install \
|
||||
apt-transport-https \
|
||||
ca-certificates \
|
||||
curl \
|
||||
gnupg-agent \
|
||||
software-properties-common
|
||||
apt-get -y install \
|
||||
apt-transport-https \
|
||||
ca-certificates \
|
||||
curl \
|
||||
gnupg-agent \
|
||||
software-properties-common
|
||||
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
|
||||
sudo apt-key fingerprint 0EBFCD88
|
||||
|
||||
sudo add-apt-repository \
|
||||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
||||
$(lsb_release -cs) \
|
||||
stable"
|
||||
apt-key fingerprint 0EBFCD88
|
||||
|
||||
add-apt-repository -y \
|
||||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
||||
$(lsb_release -cs) \
|
||||
stable"
|
||||
apt update
|
||||
apt install -y docker-ce
|
||||
systemctl status docker
|
||||
|
||||
curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
|
||||
chmod +x /usr/local/bin/docker-compose
|
||||
docker-compose --version
|
||||
|
||||
Reference in New Issue
Block a user