Skip to content

Commit

Permalink
pep668 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sivel committed Dec 14, 2023
1 parent 7bf7b58 commit 8b06bfc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 6 additions & 4 deletions docker/devel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ COPY clean_collections.py /tmp/clean_collections.py
COPY execute.sh /execute.sh
COPY playbook.yml /playbook.yml

ENV PIP_BREAK_SYSTEM_PACKAGES=1

RUN set -x && \
apk add --no-cache python3 py3-pip openssl-dev python3-dev libffi-dev ca-certificates gcc make musl-dev git yaml-dev rust cargo && \
pip3 install -U pip && \
pip3 install jmespath netaddr && \
pip3 install --no-compile ansible && \
pip3 install -U https://github.com/ansible/ansible/archive/devel.tar.gz && \
pip3 install --no-cache-dir --no-compile -U pip && \
pip3 install --no-cache-dir --no-compile jmespath netaddr && \
pip3 install --no-cache-dir --no-compile ansible && \
pip3 install --no-cache-dir --no-compile -U https://github.com/ansible/ansible/archive/devel.tar.gz && \
apk del py3-pip openssl-dev python3-dev libffi-dev ca-certificates gcc make musl-dev git yaml rust cargo && \
python3 /tmp/clean_collections.py && \
rm -rf /root/.cache && \
Expand Down
6 changes: 4 additions & 2 deletions docker/stable/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ COPY clean_collections.py /tmp/clean_collections.py
COPY execute.sh /execute.sh
COPY playbook.yml /playbook.yml

ENV PIP_BREAK_SYSTEM_PACKAGES=1

RUN set -x && \
apk add --no-cache python3 py3-pip openssl-dev python3-dev libffi-dev ca-certificates gcc make musl-dev git yaml-dev rust cargo && \
pip3 install -U pip && \
pip3 install ansible jmespath netaddr && \
pip3 install --no-cache-dir --no-compile -U pip && \
pip3 install --no-cache-dir --no-compile ansible jmespath netaddr && \
apk del py3-pip openssl-dev python3-dev libffi-dev ca-certificates gcc make musl-dev git yaml rust cargo && \
python3 /tmp/clean_collections.py && \
rm -rf /root/.cache && \
Expand Down

0 comments on commit 8b06bfc

Please sign in to comment.