diff --git a/provision.workbox/Ubuntu-16.04-packages.txt b/provision.workbox/Ubuntu-16.04-packages.txt index b97dd77..625c51a 100644 --- a/provision.workbox/Ubuntu-16.04-packages.txt +++ b/provision.workbox/Ubuntu-16.04-packages.txt @@ -1,10 +1,14 @@ +apt-transport-https bash-completion build-essential byobu +ca-certificates +curl git golang-go mosh python-pip python3-pip screen +software-properties-common vim diff --git a/provision.workbox/main.sh b/provision.workbox/main.sh index 14298b3..fff72af 100644 --- a/provision.workbox/main.sh +++ b/provision.workbox/main.sh @@ -1,6 +1,9 @@ #!/bin/bash #exec 1 2>&1 | tee -a ${LOG_FILE} +# snap writes stuff under $CWD like a noob +cd /tmp + if which lsb_release; then export DEBIAN_FRONTEND=noninteractive apt-get update @@ -11,8 +14,20 @@ if which lsb_release; then snap install kubectl --classic fi +# DO agent for advanced monitoring +curl -sSL https://agent.digitalocean.com/install.sh | sh + 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 export CLOUD_SDK_REPO="cloud-sdk-$(lsb_release -c -s)" # Add the Cloud SDK distribution URI as a package source