Fix drone file

This commit is contained in:
Thomas Sileo 2019-04-11 22:19:15 +02:00
parent 5ef03b9bd5
commit 7a027fda24

View file

@ -2,7 +2,13 @@ pipeline:
build: build:
image: python:3 image: python:3
commands: commands:
- apt-get install -y curl python-tk docker-ce docker-ce-cli containerd.io - apt-get update
- apt install apt-transport-https ca-certificates curl software-properties-common gnupg2 curl
- 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"
- apt update
- apt install docker-ce
- apt-get 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