From 7a027fda249a9c1e0fcf4de68f472d28c5434452 Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Thu, 11 Apr 2019 22:19:15 +0200 Subject: [PATCH] Fix drone file --- .drone.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 942601a..891073b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,7 +2,13 @@ pipeline: build: image: python:3 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 - 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