From bff3b42838b7bf219ebc0e270e49b3fc96e51c06 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 23 Jul 2020 18:19:03 +0200 Subject: [PATCH 1/2] Fix pip not being present in builder --- builder/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/Dockerfile b/builder/Dockerfile index 99370c0..2636e93 100644 --- a/builder/Dockerfile +++ b/builder/Dockerfile @@ -19,6 +19,7 @@ RUN apk add --no-cache \ make \ musl-dev \ openssl-dev \ + py3-pip \ python3-dev \ && pip3 install --upgrade pip \ && pip3 install ansible=="$ANSIBLE_VERSION" \ From d36e99e27f11c55f406c13a7bb42ce843c2c6e3e Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Thu, 23 Jul 2020 18:53:35 +0200 Subject: [PATCH 2/2] Install awscli from alpine in builder --- builder/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/Dockerfile b/builder/Dockerfile index 2636e93..78b21b6 100644 --- a/builder/Dockerfile +++ b/builder/Dockerfile @@ -3,6 +3,7 @@ FROM docker ARG ANSIBLE_VERSION RUN apk add --no-cache \ + aws-cli \ ca-certificates \ coreutils \ gnupg \ @@ -23,7 +24,6 @@ RUN apk add --no-cache \ python3-dev \ && pip3 install --upgrade pip \ && pip3 install ansible=="$ANSIBLE_VERSION" \ - && pip3 install awscli \ && apk del .build-deps ARG PACKER_VERSION