Skip to content

Commit

Permalink
fix: resolve build for new alpine version
Browse files Browse the repository at this point in the history
  • Loading branch information
tboerger authored and renovate[bot] committed Dec 12, 2023
1 parent 56abb6a commit 69b13b0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ ENV ANSIBLE_FORCE_COLOR=true
# renovate: datasource=pypi depName=ansible-later
ENV ANSIBLE_LATER_VERSION=3.4.2

# renovate: datasource=pypi depName=ansible
ENV ANSIBLE_CORE_VERSION=9.1.0

RUN apk update && \
apk upgrade && \
apk add python3 python3-dev py3-pip py3-cryptography cargo && \
pip3 install -U ansible-later==${ANSIBLE_LATER_VERSION} ansible && \
apk del cargo && \
apk add --no-cache bash python3 python3-dev py3-pip libffi-dev openssl-dev cargo && \
pip3 install --break-system-packages -U ansible-later==${ANSIBLE_LATER_VERSION} ansible==${ANSIBLE_CORE_VERSION} && \
apk del libffi-dev openssl-dev cargo && \
rm -rf /var/cache/apk/* /root/.cache

0 comments on commit 69b13b0

Please sign in to comment.