Skip to content

Instantly share code, notes, and snippets.

@fauxneticien
Last active August 18, 2019 09:11
Show Gist options
  • Save fauxneticien/159529bf6c071f90b7fd70a481e6083b to your computer and use it in GitHub Desktop.
Save fauxneticien/159529bf6c071f90b7fd70a481e6083b to your computer and use it in GitHub Desktop.
Elpis deploy script for ICLDC workshop
#!/bin/bash
# Commands taken from https://www.digitalocean.com/community/tutorials/how-to-install-and-use-docker-on-ubuntu-18-04
# Run using:
# bash <(curl -s https://gist.githubusercontent.com/fauxneticien/159529bf6c071f90b7fd70a481e6083b/raw/47c1d9e7c922797deee9fa2ce16387d6a3ed3624/elpis-deploy.sh)
sudo apt update
sudo apt install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
sudo apt install -y docker-ce
docker run -d --rm -p 80:5000/tcp coedl/elpis:icldc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment