Skip to content
Snippets Groups Projects
Commit f1243f21 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

Dockerfile

parent fa01cd65
No related branches found
No related tags found
1 merge request!27Fix
Pipeline #2655 failed
...@@ -7,7 +7,7 @@ RUN apk --no-cache add python3 && \ ...@@ -7,7 +7,7 @@ RUN apk --no-cache add python3 && \
apk --no-cache add --virtual build-dependencies ${ANSIBLE_BUILD_DEPENDENCIES} && \ apk --no-cache add --virtual build-dependencies ${ANSIBLE_BUILD_DEPENDENCIES} && \
python3 -m venv /opt/ansible && \ python3 -m venv /opt/ansible && \
pip3 install --ignore-installed --no-cache-dir --upgrade pip setuptools wheel && \ pip3 install --ignore-installed --no-cache-dir --upgrade pip setuptools wheel && \
( test -z $ANSIBLE_VERSION && pip install --ignore-installed --no-cache-dir ansible ${ANSIBLE_PACKAGES} || pip install --ignore-installed --no-cache-dir ansible\<=$ANSIBLE_VERSION ${ANSIBLE_PACKAGES} ) && \ ( test -z $ANSIBLE_VERSION && pip3 install --ignore-installed --no-cache-dir ansible ${ANSIBLE_PACKAGES} || pip3 install --ignore-installed --no-cache-dir ansible\<=$ANSIBLE_VERSION ${ANSIBLE_PACKAGES} ) && \
#apk del build-dependencies && \ #apk del build-dependencies && \
rm -rf /var/cache/apk/* rm -rf /var/cache/apk/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment