From c43392b3f7b50dbcc6cd6ff5dfe7a12837c39788 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 10 Feb 2021 09:53:24 +0100 Subject: [PATCH] fix build deps --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a2865d1..687e96f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,15 +23,15 @@ ENV PY_COLORS=1 \ COPY overlay/ / RUN apk add --update --no-cache --virtual .build-deps gcc make libffi-dev musl-dev \ - openssl-dev python3-dev && \ + openssl-dev python3-dev cargo && \ apk add --update --no-cache git openssh-client && \ + echo "Installing requirements ..." && \ + pip install -qq --upgrade --no-cache-dir pip && \ + pip install -qq --no-cache-dir -r /root/requirements.txt && \ echo "Installing ansible 'v$ANSIBLE_VERSION' ..." && \ - pip install -qq --upgrade --no-cache-dir pip setuptools~=49.0 requests~=2.23 && \ pip install -qq --no-cache-dir ansible=="$ANSIBLE_VERSION" && \ - echo "Installing requirements ..." && \ MOLECULE_VERSION="${MOLECULE_VERSION##v}" && \ MOLECULE_MAJOR="${MOLECULE_VERSION%%.*}" && \ - pip install -qq --no-cache-dir -r /root/requirements.txt && \ if [ -z "${MOLECULE_MAJOR//[0-9]}" ] && [ -n "$MOLECULE_MAJOR" ]; then \ echo "Installing molecule version '$MOLECULE_VERSION' ..." && \ pip install -qq --no-cache-dir molecule[docker,podman,lint]=="$MOLECULE_VERSION"; \