File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,14 @@ COPY clean_collections.py /tmp/clean_collections.py
55COPY execute.sh /execute.sh
66COPY playbook.yml /playbook.yml
77
8+ ENV PIP_BREAK_SYSTEM_PACKAGES=1
9+
810RUN 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 && \
Original file line number Diff line number Diff line change @@ -5,10 +5,12 @@ COPY clean_collections.py /tmp/clean_collections.py
55COPY execute.sh /execute.sh
66COPY playbook.yml /playbook.yml
77
8+ ENV PIP_BREAK_SYSTEM_PACKAGES=1
9+
810RUN 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 && \
You can’t perform that action at this time.
0 commit comments