From 9aa4fff375c75a0cb137f2bba0bb183f3c62d3fc Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Fri, 27 Nov 2020 17:23:54 -0800 Subject: [PATCH] switch to debian:buster slim and install make --- .drone.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 90190e2..6808270 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,7 +4,7 @@ name: default steps: - name: make - image: docker:dind + image: debian:buster-slim environment: USERNAME: from_secret: docker_username @@ -16,7 +16,12 @@ steps: - name: dockersock path: /var/run commands: + - apt-get update && apt install -y --no-install-recommends curl make + - curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-${DOCKERVERSION}.tgz + - tar xzvf docker-${DOCKERVERSION}.tgz --strip 1 -C /usr/local/bin docker/docker + - rm docker-${DOCKERVERSION}.tgz - sleep 5 # give docker enough time to start + - echo login $REGISTRY - docker login -u $USERNAME -p $PASSWORD $REGISTRY - make manifest-list - name: notify