Last active
March 12, 2021 07:33
-
-
Save soulbliss/be96edd6fdb06afa12868ed84021245a 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/bash | |
RED='\033[0;31m' | |
GREEN='\033[0;32m' | |
NC='\033[0m' | |
sudo apt-get update | |
printf "${GREEN}update libraries required for docker${NC}" | |
sudo apt-get install \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ | |
software-properties-common | |
printf "${GREEN}download docker and add it's keys${NC}" | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 0EBFCD88 | |
printf "${GREEN}add repo for docke${NC}" | |
sudo add-apt-repository \ | |
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ | |
$(lsb_release -cs) \ | |
stable" | |
sudo apt-get update | |
printf "${GREEN}install docke${NC}" | |
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose | |
sudo groupadd docker; sudo gpasswd -a $USER docker | |
printf "${GREEN}\n\ninstalling cortex${NC}" | |
$ bash -c "$(curl -sS https://raw.githubusercontent.com/cortexlabs/cortex/0.21/get-cli.sh)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment