Namespace
serversideup
Image / Tag
ansible:8.7-alpine3.20-python3.10-v2.0.0
Content Digest
sha256:d84d92c1321a53a8af28763b128c9b6fd58667f775b550fb6e695a2a183d39f1
Details
Created

2026-07-15 21:54:34 UTC

Size

187 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

4c68050f049d1b4ac5aadd0df5f27941c0350d2a9e7ab0907ee5eb5225d9d6b0

PYTHON_VERSION

3.10.17


Layers

[#000] sha256:0a9a5dfd008f05ebc27e4790db0709a29e527690c21bcbcd01481eaeb6bb49dc - 1.85% (3.46 MB)

[#001] sha256:645dc30e2c53bb31e1a58af1ada6ee504347355cc62b3de12e907384bc69ea6f - 0.23% (449 KB)

[#002] sha256:460b78d5e9c64e197d4581f516d101270fed82cfa3b73a1f1bc44b3bfd249b93 - 7.91% (14.8 MB)

[#003] sha256:8534c94cd38e758d6b883aa55555b9fc175b870fd3307358e2352dbdc96b387c - 0.0% (248 Bytes)

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

[#005] sha256:b23a27c23bcb78f16dd15c48ec1883ce09bb3b9edbafb6638e13261211e77e0d - 90.01% (169 MB)

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


History
2025-02-14 03:00:07 UTC (buildkit.dockerfile.v0)

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

2025-02-14 03:00:07 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

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

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

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

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.17

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=4c68050f049d1b4ac5aadd0df5f27941c0350d2a9e7ab0907ee5eb5225d9d6b0

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev 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-linux-musl' && 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==65.5.1' 'wheel<0.46' ; pip3 --version # buildkit

2025-05-08 22:27:23 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

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

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

ARG BUILD_ANSIBLE_VARIATION=

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

ARG BUILD_ANSIBLE_PATCH_VERSION=

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

ARG PACKAGE_DEPENDENCIES=

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

ARG PUID=1000

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

ARG PGID=1000

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

ARG REPOSITORY_BUILD_VERSION=dev

2026-07-15 21:35:28 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:28 UTC (buildkit.dockerfile.v0)

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

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

RUN |6 BUILD_ANSIBLE_VARIATION=ansible BUILD_ANSIBLE_PATCH_VERSION=8.7.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:52:30 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:52:30 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

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

WORKDIR /ansible

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

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

Details
Created

2026-07-15 21:55:03 UTC

Size

183 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

4c68050f049d1b4ac5aadd0df5f27941c0350d2a9e7ab0907ee5eb5225d9d6b0

PYTHON_VERSION

3.10.17


Layers

[#000] sha256:94e9d8af22013aabf0edcaf42950c88b0a1350c3a9ce076d61b98a535a673dd9 - 2.13% (3.9 MB)

[#001] sha256:ada0c44c46b7920b8fcf92f467920ee13d195d2c4ae778ed3f8616218e9560f8 - 0.24% (451 KB)

[#002] sha256:b94ace2767e0a482c995b02ebd1ba60c8bf92a1c61f3cb14450f9748d2ae0cea - 8.16% (14.9 MB)

[#003] sha256:216b2a83dd25619bc962600f4ead15a161636e36311ef2085372b95fff5db14e - 0.0% (250 Bytes)

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

[#005] sha256:4079d547eda33e0a8932ea125b499e70368cc47833349d45b079be28fa55c2f0 - 89.46% (164 MB)

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


History
2025-02-14 03:00:07 UTC (buildkit.dockerfile.v0)

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

2025-02-14 03:00:07 UTC (buildkit.dockerfile.v0)

CMD ["/bin/sh"]

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

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

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

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

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.10.17

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=4c68050f049d1b4ac5aadd0df5f27941c0350d2a9e7ab0907ee5eb5225d9d6b0

2025-05-08 22:27:23 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apk add --no-cache --virtual .build-deps gnupg tar xz bluez-dev bzip2-dev dpkg-dev dpkg findutils gcc gdbm-dev libc-dev libffi-dev libnsl-dev libtirpc-dev linux-headers make ncurses-dev openssl-dev pax-utils readline-dev sqlite-dev tcl-dev tk tk-dev util-linux-dev 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-linux-musl' && 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==65.5.1' 'wheel<0.46' ; pip3 --version # buildkit

2025-05-08 22:27:23 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

2025-05-08 22:27:23 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:52:57 UTC (buildkit.dockerfile.v0)

RUN |6 BUILD_ANSIBLE_VARIATION=ansible BUILD_ANSIBLE_PATCH_VERSION=8.7.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:52:57 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:52:57 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2026-07-15 21:55:03 UTC (buildkit.dockerfile.v0)

WORKDIR /ansible

2026-07-15 21:55:03 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