Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Getting serverless framework working on Ubuntu 18.04 ec2 (with docker and a few other packages)
curl -sL | sudo -E bash -
sudo apt update
sudo apt install -y default-jdk
sudo apt-get install -y xdg-utils #needed for serverless login
npm install
sudo apt install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL | sudo apt-key add -
sudo add-apt-repository -y "deb [arch=amd64] bionic stable"
sudo apt install -y docker-ce
sudo groupadd docker
sudo usermod -aG docker $USER
newgrp docker
serverless login
# You'll need to open a link in a browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment