install docker-ce
This commit is contained in:
parent
759fcfbd85
commit
0fa1b7998f
@ -1,10 +1,14 @@
|
|||||||
|
apt-transport-https
|
||||||
bash-completion
|
bash-completion
|
||||||
build-essential
|
build-essential
|
||||||
byobu
|
byobu
|
||||||
|
ca-certificates
|
||||||
|
curl
|
||||||
git
|
git
|
||||||
golang-go
|
golang-go
|
||||||
mosh
|
mosh
|
||||||
python-pip
|
python-pip
|
||||||
python3-pip
|
python3-pip
|
||||||
screen
|
screen
|
||||||
|
software-properties-common
|
||||||
vim
|
vim
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#exec 1 2>&1 | tee -a ${LOG_FILE}
|
#exec 1 2>&1 | tee -a ${LOG_FILE}
|
||||||
|
|
||||||
|
# snap writes stuff under $CWD like a noob
|
||||||
|
cd /tmp
|
||||||
|
|
||||||
if which lsb_release; then
|
if which lsb_release; then
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
apt-get update
|
apt-get update
|
||||||
@ -11,8 +14,20 @@ if which lsb_release; then
|
|||||||
snap install kubectl --classic
|
snap install kubectl --classic
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# DO agent for advanced monitoring
|
||||||
|
curl -sSL https://agent.digitalocean.com/install.sh | sh
|
||||||
|
|
||||||
pip3 install --upgrade pip
|
pip3 install --upgrade pip
|
||||||
|
|
||||||
|
# install docker CE
|
||||||
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg |
|
||||||
|
apt-key add -
|
||||||
|
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 gcloud
|
# install gcloud
|
||||||
export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)"
|
export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)"
|
||||||
# Add the Cloud SDK distribution URI as a package source
|
# Add the Cloud SDK distribution URI as a package source
|
||||||
|
Loading…
Reference in New Issue
Block a user