Guest User

Untitled

a guest
Feb 11th, 2025
26
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. ARG TARGETARCH=amd64
  2. FROM alpine:3.20.3
  3.  
  4. RUN apk add -U cmake curl file gcc g++ libffi-dev make musl-dev openssl-dev patch py3-cryptography py3-pip zlib-dev
  5.  
  6. ENV PYTHON_VERSION=3.12.6
  7. RUN curl https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz | tar -zx
  8. WORKDIR Python-${PYTHON_VERSION}
  9. RUN ./configure --prefix=/opt/python
  10. RUN make install
  11. RUN /opt/python/bin/pip3 install ansible==9.2.0 ansible-core==2.16.3 awscli boto3 docker jmespath hvac python-consul pytz pyhcl pyyaml requests
Advertisement
Add Comment
Please, Sign In to add comment