nhg

fjrunner (latest)

Published 2025-10-24 17:41:52 +02:00 by nhg

Installation

docker pull gitea.wlandt.de/nhg/fjrunner:latest
sha256:77fed8de75ae098977fb780d88e8dd52eca8cccd9ec9532f668b625977d5f128

About this package

Run Ansible anywhere with a lightweight and powerful Docker image

Image layers

# debian.sh --arch 'amd64' out/ 'trixie' '@1759104000'
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase sq wget ; apt-get dist-clean # buildkit
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; apt-get dist-clean # buildkit
RUN /bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 default-libmysqlclient-dev dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev ; apt-get dist-clean # buildkit
ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ENV LANG=C.UTF-8
RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends libbluetooth-dev tk-dev uuid-dev ; apt-get dist-clean # buildkit
ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D
ENV PYTHON_VERSION=3.10.19
ENV PYTHON_SHA256=c8f4a596572201d81dd7df91f70e177e19a70f1d489968b54b5fbbf29a97c076
RUN /bin/sh -c set -eux; wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; echo "$PYTHON_SHA256 *python.tar.xz" | sha256sum -c -; wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; gpg --batch --keyserver hkps://keys.openpgp.org --recv-keys "$GPG_KEY"; gpg --batch --verify python.tar.xz.asc python.tar.xz; gpgconf --kill all; rm -rf "$GNUPGHOME" python.tar.xz.asc; mkdir -p /usr/src/python; tar --extract --directory /usr/src/python --strip-components=1 --file python.tar.xz; rm python.tar.xz; cd /usr/src/python; gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)"; ./configure --build="$gnuArch" --enable-loadable-sqlite-extensions --enable-optimizations --enable-option-checking=fatal --enable-shared $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="$(dpkg-buildflags --get CFLAGS)"; LDFLAGS="$(dpkg-buildflags --get LDFLAGS)"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" python ; make install; bin="$(readlink -ve /usr/local/bin/python3)"; dir="$(dirname "$bin")"; mkdir -p "/usr/share/gdb/auto-load/$dir"; cp -vL Tools/gdb/libpython.py "/usr/share/gdb/auto-load/$bin-gdb.py"; cd /; rm -rf /usr/src/python; find /usr/local -depth \( \( -type d -a \( -name test -o -name tests -o -name idle_test \) \) -o \( -type f -a \( -name '*.pyc' -o -name '*.pyo' -o -name 'libpython*.a' \) \) \) -exec rm -rf '{}' + ; ldconfig; export PYTHONDONTWRITEBYTECODE=1; python3 --version; pip3 install --disable-pip-version-check --no-cache-dir --no-compile 'setuptools==79.0.1' 'wheel<0.46' ; pip3 --version # buildkit
RUN /bin/sh -c set -eux; for src in idle3 pip3 pydoc3 python3 python3-config; do dst="$(echo "$src" | tr -d 3)"; [ -s "/usr/local/bin/$src" ]; [ ! -e "/usr/local/bin/$dst" ]; ln -svT "$src" "/usr/local/bin/$dst"; done # buildkit
CMD ["python3"]
ARG BUILD_ANSIBLE_VARIATION=ansible
ARG BUILD_ANSIBLE_PATCH_VERSION=10.7.0
ARG PACKAGE_DEPENDENCIES=git,gosu,jq,less,libffi-dev,libhdf5-dev,libssl-dev,openssh-client,sshpass
ARG PUID=1000
ARG PGID=1000
ARG REPOSITORY_BUILD_VERSION=git-a7fd4dc-18672495218
ENV DEBUG=false ANSIBLE_WORK_DIR=/ansible ANSIBLE_HOME=/etc/ansible ANSIBLE_COLLECTIONS_PATH=/etc/ansible/collections
COPY --chown=root:root --chmod=755 src/rootfs / # buildkit
RUN |6 BUILD_ANSIBLE_VARIATION=ansible BUILD_ANSIBLE_PATCH_VERSION=10.7.0 PACKAGE_DEPENDENCIES=git,gosu,jq,less,libffi-dev,libhdf5-dev,libssl-dev,openssh-client,sshpass PUID=1000 PGID=1000 REPOSITORY_BUILD_VERSION=git-a7fd4dc-18672495218 /bin/sh -c serversideup-dep-install-alpine ${PACKAGE_DEPENDENCIES} && serversideup-dep-install-debian ${PACKAGE_DEPENDENCIES} && ARCH=$(uname -m) && if [ "${ARCH}" = "x86_64" ]; then YQ_BINARY="yq_linux_amd64"; elif [ "${ARCH}" = "aarch64" ]; then YQ_BINARY="yq_linux_arm64"; else echo "Unsupported architecture: ${ARCH}"; exit 1; fi && if [ -f /etc/alpine-release ]; then wget https://github.com/mikefarah/yq/releases/latest/download/${YQ_BINARY} -O /usr/bin/yq && chmod +x /usr/bin/yq; else wget -qO /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/${YQ_BINARY} && chmod a+x /usr/local/bin/yq; fi && serversideup-create-unprivileged-user ansible "${PUID}" "${PGID}" && mkdir -p "${ANSIBLE_HOME}/tmp" && echo -e '[local]\nlocalhost ansible_host=127.0.0.1' > "${ANSIBLE_HOME}/hosts" && chown -R "${PUID}:${PGID}" "${ANSIBLE_HOME}" && chmod 1777 "${ANSIBLE_HOME}/tmp" && mkdir -p "${ANSIBLE_WORK_DIR}" && chown -R "${PUID}:${PGID}" "${ANSIBLE_WORK_DIR}" && mkdir -p /ssh && chmod 700 /ssh && chown "${PUID}:${PGID}" /ssh && ln -s /ssh /home/ansible/.ssh && echo "🤓 Installing ${BUILD_ANSIBLE_VARIATION}==${BUILD_ANSIBLE_PATCH_VERSION}" && pip3 install --no-cache-dir "${BUILD_ANSIBLE_VARIATION}==${BUILD_ANSIBLE_PATCH_VERSION}" && pip3 install --no-cache-dir ansible-lint passlib requests python-dateutil && ansible --version # buildkit
LABEL org.opencontainers.image.title=serversideup/ansible org.opencontainers.image.description=Run Ansible anywhere with a lightweight and powerful Docker image org.opencontainers.image.url=https://github.com/serversideup/docker-ansible org.opencontainers.image.source=https://github.com/serversideup/docker-ansible org.opencontainers.image.documentation=https://github.com/serversideup/docker-ansible org.opencontainers.image.vendor=ServerSideUp org.opencontainers.image.authors=Jay Rogers (@jaydrogers) org.opencontainers.image.version=git-a7fd4dc-18672495218 org.opencontainers.image.licenses=GPL-3.0-or-later
ENTRYPOINT ["/entrypoint.sh"]
WORKDIR /ansible
CMD ["ansible-playbook" "--version"]
ENV DEBIAN_FRONTEND=noninteractive
ARG RUNNER_VERSION
|1 RUNNER_VERSION=11.1.2 /bin/sh -c apt update -y && apt upgrade -y && useradd -m docker
|1 RUNNER_VERSION=11.1.2 /bin/sh -c apt-get install -y --no-install-recommends curl wget unzip vim git jq build-essential libssl-dev libffi-dev libicu-dev python3-pip tini nodejs
|1 RUNNER_VERSION=11.1.2 /bin/sh -c pip3 install pytz jmespath ncclient pynetbox
|1 RUNNER_VERSION=11.1.2 /bin/sh -c cd /home/docker && mkdir actions-runner && cd actions-runner && wget -O forgejo-runner https://code.forgejo.org/forgejo/runner/releases/download/v${RUNNER_VERSION}/forgejo-runner-${RUNNER_VERSION}-linux-amd64 && mv forgejo-runner /usr/local/bin/forgejo-runner && chmod +x /usr/local/bin/forgejo-runner
ADD file:8814015f93d864ee37ecae096438d365e368664a91b2964e7d8c62707aecc271 in start.sh
|1 RUNNER_VERSION=11.1.2 /bin/sh -c chmod +x start.sh
|1 RUNNER_VERSION=11.1.2 /bin/sh -c mkdir /runner && chown docker /runner
ENTRYPOINT ["tini", "-g", "--"]
CMD ["./start.sh"]

Labels

Key Value
io.buildah.version 1.41.5
org.opencontainers.image.authors Jay Rogers (@jaydrogers)
org.opencontainers.image.description Run Ansible anywhere with a lightweight and powerful Docker image
org.opencontainers.image.documentation https://github.com/serversideup/docker-ansible
org.opencontainers.image.licenses GPL-3.0-or-later
org.opencontainers.image.source https://github.com/serversideup/docker-ansible
org.opencontainers.image.title serversideup/ansible
org.opencontainers.image.url https://github.com/serversideup/docker-ansible
org.opencontainers.image.vendor ServerSideUp
org.opencontainers.image.version git-a7fd4dc-18672495218
Details
Container
2025-10-24 17:41:52 +02:00
11
OCI / Docker
linux/amd64
Jay Rogers (@jaydrogers)
GPL-3.0-or-later
582 MiB
Versions (1) View all
latest 2025-10-24