Skip to content

Instantly share code, notes, and snippets.

@benfoley
Forked from fauxneticien/elpis-deploy.sh
Last active November 28, 2019 00:26
Show Gist options
  • Save benfoley/ff06c4871be4f290b205aca8c2a5decb to your computer and use it in GitHub Desktop.
Save benfoley/ff06c4871be4f290b205aca8c2a5decb 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
# added new lines for containerd
curl -O https://download.docker.com/linux/ubuntu/dists/bionic/pool/edge/amd64/containerd.io_1.2.2-3_amd64.deb
sudo apt install ./containerd.io_1.2.2-3_amd64.deb
sudo apt install -y docker-ce
# docker run -d --rm -p 80:5000/tcp coedl/elpis:puliima
sudo docker run -d --rm -p 80:5000/tcp coedl/elpis:interspeech-19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment