ansible-runner (py3.10-ansible-2.15)
Published 2024-07-12 17:06:47 +02:00 by tom
Installation
docker pull git.as73.inetsix.net/inetsix-configs/ansible-runner:py3.10-ansible-2.15sha256:38775dfd02ee7b613c3e1e88de4a7df6e7cbbce915c96665ee1e1c0b12d2bbb7Image layers
| ADD file:49759b7a74bac875e3619e20ed5a9521101c7729f601d90976d0755d30e97499 in / |
| CMD ["bash"] |
| RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates; rm -rf /var/lib/apt/lists/* # buildkit |
| ENV LANG=C.UTF-8 |
| ENV PATH=/opt/pypy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| ENV PYPY_VERSION=7.3.16 |
| RUN /bin/sh -c set -eux; dpkgArch="$(dpkg --print-architecture)"; case "${dpkgArch##*-}" in 'amd64') url='https://downloads.python.org/pypy/pypy3.10-v7.3.16-linux64.tar.bz2'; sha256='404e6180d6caf9258eaab0c02c72018e9aa8eb03ab9094a0ff17ee5e3b265ac1'; ;; 'arm64') url='https://downloads.python.org/pypy/pypy3.10-v7.3.16-aarch64.tar.bz2'; sha256='fc720999bc5050e1d3706b3b6445e695cf42bfc71ebc7c88ed6bb88828b1d385'; ;; 'i386') url='https://downloads.python.org/pypy/pypy3.10-v7.3.16-linux32.tar.bz2'; sha256='0df48aa780159e879ac89a805d143e4a6cd1b842f98046f5a3f865814bfaa2a4'; ;; 's390x') url='https://downloads.python.org/pypy/pypy3.10-v7.3.16-s390x.tar.bz2'; sha256='af97efe498a209ba18c7bc7d084164a9907fb3736588b6864955177e19d5216a'; ;; *) echo >&2 "error: current architecture ($dpkgArch) does not have a corresponding PyPy $PYPY_VERSION binary release"; exit 1 ;; esac; savedAptMark="$(apt-mark showmanual)"; apt-get update; apt-get install -y --no-install-recommends bzip2 wget libexpat1 libncurses5 libncursesw6 libsqlite3-0 ; wget -O pypy.tar.bz2 "$url" --progress=dot:giga; echo "$sha256 *pypy.tar.bz2" | sha256sum --check --strict -; mkdir /opt/pypy; tar -xjC /opt/pypy --strip-components=1 -f pypy.tar.bz2; find /opt/pypy/lib* -depth -type d -a \( -name test -o -name tests \) -exec rm -rf '{}' +; rm pypy.tar.bz2; ln -sv '/opt/pypy/bin/pypy3' /usr/local/bin/; pypy3 --version; cd /opt/pypy/lib/pypy3.10; if [ -f _gdbm_build.py ]; then apt-get install -y --no-install-recommends gcc libc6-dev libgdbm-dev; pypy3 _gdbm_build.py; fi; if [ -f _ssl_build.py ]; then apt-get install -y --no-install-recommends gcc libc6-dev libssl-dev; pypy3 _ssl_build.py; fi; if [ -f _lzma_build.py ]; then apt-get install -y --no-install-recommends gcc libc6-dev liblzma-dev; pypy3 _lzma_build.py; fi; if [ -f _sqlite3_build.py ]; then apt-get install -y --no-install-recommends gcc libc6-dev libsqlite3-dev; pypy3 _sqlite3_build.py; fi; apt-mark auto '.*' > /dev/null; [ -z "$savedAptMark" ] || apt-mark manual $savedAptMark > /dev/null; find /opt/pypy -type f -executable -exec ldd '{}' ';' | awk '/=>/ { so = $(NF-1); if (index(so, "/usr/local/") == 1) { next }; gsub("^/(usr/)?", "", so); printf "*%s\n", so }' | sort -u | xargs -r dpkg-query --search | cut -d: -f1 | sort -u | xargs -r apt-mark manual ; apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; rm -rf /var/lib/apt/lists/*; pypy3 --version; find /opt/pypy -depth \( \( -type d -a \( -name test -o -name tests \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \) -exec rm -rf '{}' + # buildkit |
| ENV PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/3843bff3a0a61da5b63ea0b7d34794c5c51a2f11/get-pip.py |
| ENV PYTHON_GET_PIP_SHA256=95c5ee602b2f3cc50ae053d716c3c89bea62c58568f64d7d25924d399b2d5218 |
| RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends wget; rm -rf /var/lib/apt/lists/*; wget -O get-pip.py "$PYTHON_GET_PIP_URL"; echo "$PYTHON_GET_PIP_SHA256 *get-pip.py" | sha256sum --check --strict -; pipVersion="$(pypy3 -c 'import ensurepip; print(ensurepip._PIP_VERSION)')"; setuptoolsVersion="$(pypy3 -c 'import ensurepip; print(ensurepip._SETUPTOOLS_VERSION)')"; pypy3 get-pip.py --disable-pip-version-check --no-cache-dir "pip == $pipVersion" "setuptools == $setuptoolsVersion" ; apt-get purge -y --auto-remove wget; pip --version; find /opt/pypy -depth \( \( -type d -a \( -name test -o -name tests \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' \) \) \) -exec rm -rf '{}' +; rm -f get-pip.py # buildkit |
| CMD ["pypy3"] |
| ARG ANSIBLE_CORE_VERSION=2.15.4 |
| ENV ANSIBLE_VAULT_PASSWORD_FILE=/bin/op-vault |
| ENV ANSIBLE_PASSWORD=password123 |
| ENV ANSIBLE_SSH_PIPELINING=True |
| ENV ANSIBLE_GATHERING=smart |
| ENV ANSIBLE_HOST_KEY_CHECKING=false |
| ENV ANSIBLE_RETRY_FILES_ENABLED=false |
| RUN |1 ANSIBLE_CORE_VERSION=2.15.4 /bin/sh -c apt update && apt install -y openssh-client make build-essential && rm -rf /var/lib/apt/lists/* # buildkit |
| RUN |1 ANSIBLE_CORE_VERSION=2.15.4 /bin/sh -c pip install --no-cache-dir ansible-core==${ANSIBLE_CORE_VERSION} # buildkit |
| COPY src/op-vault /bin/op-vault # buildkit |
| COPY src/entrypoint.sh /entrypoint.sh # buildkit |
| ENTRYPOINT ["bash" "/entrypoint.sh"] |
Details
2024-07-12 17:06:47 +02:00
Versions (1)
View all
Container
1
OCI / Docker
linux/amd64
172 MiB
py3.10-ansible-2.15
2024-07-12