Namespace
serversideup
Image / Tag
ansible:12.3-alpine-python3.11-v2.0.0
Content Digest
sha256:98807addad1e0c422d4686147d8cf1194f6182e8940f91ef214440dbe1e12620
Details
Created

2026-07-15 21:54:14 UTC

Size

220 MB

Content Digest
Labels
  • 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
    v2.0.0

Environment
ANSIBLE_COLLECTIONS_PATH

/etc/ansible/collections

ANSIBLE_HOME

/etc/ansible

ANSIBLE_WORK_DIR

/ansible

DEBUG

false

GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_SHA256

272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625

PYTHON_VERSION

3.11.15


Layers

[#000] sha256:84f5eff04246b56d48d1ed6cbd82d6bc7e53f7e790db6a467f92571c69f3289e - 1.65% (3.63 MB)

[#001] sha256:6df53a89c0f42f83bc7aabe3219368a7a07f91c01d26df826ad018dcdcbe12c2 - 0.2% (444 KB)

[#002] sha256:3ca0c990548b90611452accb73caff22dd22ed3b8f9a5ff4e57794013cfe79ed - 6.92% (15.2 MB)

[#003] sha256:2468f2064dc96c59da89b52bee21c81fbb8fed8cede1e44484fce7b7bc642c6a - 0.0% (248 Bytes)

[#004] sha256:af6763dfabe8d2fe8465781a8bbd39b4ec47a69e7e7e85fa281c5fd63a6de9da - 0.0% (2.33 KB)

[#005] sha256:66cf7eaef77af116b44edf5076dcc4717dcc3eedbdec190667ea00dd14413fa7 - 91.23% (201 MB)

[#006] sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d - 0.0% (34 Bytes)


History
2026-04-16 23:53:02 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.22.4-x86_64.tar.gz / # buildkit

2026-04-16 23:53:02 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-04-17 00:30:59 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2026-04-17 00:30:59 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2026-04-17 00:30:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2026-04-17 00:30:59 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2026-04-17 00:30:59 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.11.15

2026-04-17 00:30:59 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625

2026-04-17 00:35:59 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps bluez-dev bzip2-dev dpkg-dev dpkg findutils gcc gdbm-dev gnupg libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tar tcl-dev tk tk-dev util-linux-dev xz xz-dev zlib-dev ; 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-option-checking=fatal --enable-shared $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; 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; 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 '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; 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

2026-04-17 00:35:59 UTC (buildkit.dockerfile.v0)

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

2026-04-17 00:35:59 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

ARG BUILD_ANSIBLE_VARIATION=

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

ARG BUILD_ANSIBLE_PATCH_VERSION=

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

ARG PACKAGE_DEPENDENCIES=

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

ARG PUID=1000

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

ARG PGID=1000

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

ARG REPOSITORY_BUILD_VERSION=dev

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

ENV DEBUG=false ANSIBLE_WORK_DIR=/ansible ANSIBLE_HOME=/etc/ansible ANSIBLE_COLLECTIONS_PATH=/etc/ansible/collections

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

COPY --chown=root:root --chmod=755 src/rootfs / # buildkit

2026-07-15 21:51:29 UTC (buildkit.dockerfile.v0)

RUN |6 BUILD_ANSIBLE_VARIATION=ansible BUILD_ANSIBLE_PATCH_VERSION=12.3.0 PACKAGE_DEPENDENCIES=build-base,git,libffi-dev,jq,openssh-client,openssl-dev,rsync,shadow,sshpass,su-exec PUID=1000 PGID=1000 REPOSITORY_BUILD_VERSION=v2.0.0 /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

2026-07-15 21:51:29 UTC (buildkit.dockerfile.v0)

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=v2.0.0 org.opencontainers.image.licenses=GPL-3.0-or-later

2026-07-15 21:51:29 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2026-07-15 21:54:14 UTC (buildkit.dockerfile.v0)

WORKDIR /ansible

2026-07-15 21:54:14 UTC (buildkit.dockerfile.v0)

CMD ["ansible-playbook" "--version"]

Details
Created

2026-07-15 21:54:49 UTC

Size

215 MB

Content Digest
Labels
  • 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
    v2.0.0

Environment
ANSIBLE_COLLECTIONS_PATH

/etc/ansible/collections

ANSIBLE_HOME

/etc/ansible

ANSIBLE_WORK_DIR

/ansible

DEBUG

false

GPG_KEY

A035C8C19219BA821ECEA86B64E628F8D684696D

LANG

C.UTF-8

PATH

/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PYTHON_SHA256

272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625

PYTHON_VERSION

3.11.15


Layers

[#000] sha256:58e777220c395c319866c5d73ea32a5ea574bbd12f4eb289b392f584d0cd953e - 1.84% (3.95 MB)

[#001] sha256:68f21ca51a14dcd86052a498fa06f0530189b9ff326a749eb27917a1a8a57268 - 0.2% (447 KB)

[#002] sha256:bc179f724180a4cd8ddcbbf0bb407305c21e3802cffaee3a6efdac3143f78967 - 7.11% (15.3 MB)

[#003] sha256:d77254010d09a671c64ad0799c2db74e7c6aa0de7990e4b960a4b00470c80478 - 0.0% (246 Bytes)

[#004] sha256:af6763dfabe8d2fe8465781a8bbd39b4ec47a69e7e7e85fa281c5fd63a6de9da - 0.0% (2.33 KB)

[#005] sha256:652decd0b0ff19aef0a2285f304264a852a3858d541ee912b701c016ff7e6afa - 90.85% (195 MB)

[#006] sha256:bd9ddc54bea929a22b334e73e026d4136e5b73f5cc29942896c72e4ece69b13d - 0.0% (34 Bytes)


History
2026-04-16 23:53:00 UTC (buildkit.dockerfile.v0)

ADD alpine-minirootfs-3.22.4-aarch64.tar.gz / # buildkit

2026-04-16 23:53:00 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2026-04-17 00:34:01 UTC (buildkit.dockerfile.v0)

ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

2026-04-17 00:34:01 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2026-04-17 00:34:01 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit

2026-04-17 00:34:01 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2026-04-17 00:34:01 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.11.15

2026-04-17 00:34:01 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=272179ddd9a2e41a0fc8e42e33dfbdca0b3711aa5abf372d3f2d51543d09b625

2026-04-17 00:39:54 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps bluez-dev bzip2-dev dpkg-dev dpkg findutils gcc gdbm-dev gnupg libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tar tcl-dev tk tk-dev util-linux-dev xz xz-dev zlib-dev ; 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-option-checking=fatal --enable-shared $(test "${gnuArch%%-*}" != 'riscv64' && echo '--with-lto') --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:-} -Wl,--strip-all"; 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; 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 '{}' + ; find /usr/local -type f -executable -not \( -name '*tkinter*' \) -exec scanelf --needed --nobanner --format '%n#p' '{}' ';' | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' | xargs -rt apk add --no-network --virtual .python-rundeps ; apk del --no-network .build-deps; 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

2026-04-17 00:39:54 UTC (buildkit.dockerfile.v0)

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

2026-04-17 00:39:54 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

ARG BUILD_ANSIBLE_VARIATION=

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

ARG BUILD_ANSIBLE_PATCH_VERSION=

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

ARG PACKAGE_DEPENDENCIES=

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

ARG PUID=1000

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

ARG PGID=1000

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

ARG REPOSITORY_BUILD_VERSION=dev

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

ENV DEBUG=false ANSIBLE_WORK_DIR=/ansible ANSIBLE_HOME=/etc/ansible ANSIBLE_COLLECTIONS_PATH=/etc/ansible/collections

2026-07-15 21:35:30 UTC (buildkit.dockerfile.v0)

COPY --chown=root:root --chmod=755 src/rootfs / # buildkit

2026-07-15 21:51:46 UTC (buildkit.dockerfile.v0)

RUN |6 BUILD_ANSIBLE_VARIATION=ansible BUILD_ANSIBLE_PATCH_VERSION=12.3.0 PACKAGE_DEPENDENCIES=build-base,git,libffi-dev,jq,openssh-client,openssl-dev,rsync,shadow,sshpass,su-exec PUID=1000 PGID=1000 REPOSITORY_BUILD_VERSION=v2.0.0 /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

2026-07-15 21:51:46 UTC (buildkit.dockerfile.v0)

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=v2.0.0 org.opencontainers.image.licenses=GPL-3.0-or-later

2026-07-15 21:51:46 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2026-07-15 21:54:49 UTC (buildkit.dockerfile.v0)

WORKDIR /ansible

2026-07-15 21:54:49 UTC (buildkit.dockerfile.v0)

CMD ["ansible-playbook" "--version"]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete