CI cleanup

This commit is contained in:
Thomas Sileo 2019-04-11 22:40:35 +02:00
parent 98b16f0da4
commit 93f001f98c

View file

@ -9,12 +9,11 @@ steps:
path: /var/run/docker.sock path: /var/run/docker.sock
commands: commands:
- apt update -y - apt update -y
- apt install -y apt-transport-https ca-certificates curl software-properties-common gnupg2 curl - apt install -y apt-transport-https ca-certificates curl software-properties-common gnupg2 curl python-tk
- curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - - curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
- add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable" - add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
- apt update -y - apt update -y
- apt install -y docker-ce - apt install -y docker-ce
- apt install -y curl python-tk
- pip install -U pip - pip install -U pip
- curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose - curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
- chmod +x /usr/local/bin/docker-compose - chmod +x /usr/local/bin/docker-compose