Skip to content

Commit 8b06bfc

Browse files
committed
pep668 fix
1 parent 7bf7b58 commit 8b06bfc

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

docker/devel/Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ COPY clean_collections.py /tmp/clean_collections.py
55
COPY execute.sh /execute.sh
66
COPY playbook.yml /playbook.yml
77

8+
ENV PIP_BREAK_SYSTEM_PACKAGES=1
9+
810
RUN set -x && \
911
apk add --no-cache python3 py3-pip openssl-dev python3-dev libffi-dev ca-certificates gcc make musl-dev git yaml-dev rust cargo && \
10-
pip3 install -U pip && \
11-
pip3 install jmespath netaddr && \
12-
pip3 install --no-compile ansible && \
13-
pip3 install -U https://github.com/ansible/ansible/archive/devel.tar.gz && \
12+
pip3 install --no-cache-dir --no-compile -U pip && \
13+
pip3 install --no-cache-dir --no-compile jmespath netaddr && \
14+
pip3 install --no-cache-dir --no-compile ansible && \
15+
pip3 install --no-cache-dir --no-compile -U https://github.com/ansible/ansible/archive/devel.tar.gz && \
1416
apk del py3-pip openssl-dev python3-dev libffi-dev ca-certificates gcc make musl-dev git yaml rust cargo && \
1517
python3 /tmp/clean_collections.py && \
1618
rm -rf /root/.cache && \

docker/stable/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ COPY clean_collections.py /tmp/clean_collections.py
55
COPY execute.sh /execute.sh
66
COPY playbook.yml /playbook.yml
77

8+
ENV PIP_BREAK_SYSTEM_PACKAGES=1
9+
810
RUN set -x && \
911
apk add --no-cache python3 py3-pip openssl-dev python3-dev libffi-dev ca-certificates gcc make musl-dev git yaml-dev rust cargo && \
10-
pip3 install -U pip && \
11-
pip3 install ansible jmespath netaddr && \
12+
pip3 install --no-cache-dir --no-compile -U pip && \
13+
pip3 install --no-cache-dir --no-compile ansible jmespath netaddr && \
1214
apk del py3-pip openssl-dev python3-dev libffi-dev ca-certificates gcc make musl-dev git yaml rust cargo && \
1315
python3 /tmp/clean_collections.py && \
1416
rm -rf /root/.cache && \

0 commit comments

Comments
 (0)