Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ARG TARGETARCH=amd64
- FROM alpine:3.20.3
- RUN apk add -U cmake curl file gcc g++ libffi-dev make musl-dev openssl-dev patch py3-cryptography py3-pip zlib-dev
- ENV PYTHON_VERSION=3.12.6
- RUN curl https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz | tar -zx
- WORKDIR Python-${PYTHON_VERSION}
- RUN ./configure --prefix=/opt/python
- RUN make install
- 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