fix build deps
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Robert Kaussow 2021-02-10 09:53:24 +01:00
parent aceb9e5af2
commit c43392b3f7
Signed by: xoxys
GPG Key ID: 65362AE74AF98B61
1 changed files with 5 additions and 5 deletions

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"; \