fix build deps
All checks were successful
continuous-integration/drone/pr Build is passing

This commit is contained in:
Robert Kaussow 2021-02-10 09:53:24 +01:00
parent aceb9e5af2
commit c43392b3f7
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61

View File

@ -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 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 ..." && \
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 --no-cache-dir ansible=="$ANSIBLE_VERSION" && \
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"; \