Namespace
serversideup
Image / Tag
ansible:10.5.0-alpine
Content Digest
sha256:4599b589182f7837e4dc16a08c8f85b2bc492ad4a9a88d3f82e57536875516f6
Details
Created

2024-10-31 13:09:12 UTC

Size

191 MB

Content Digest
Labels
  • org.opencontainers.image.authors
    Jay Rogers (@jaydrogers)
  • org.opencontainers.image.description
    Run Ansible anywhere with a lightwieght 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
    v0.6.0

Environment
ANSIBLE_COLLECTIONS_PATH

/etc/ansible/collections

ANSIBLE_HOME

/etc/ansible

ANSIBLE_WORK_DIR

/ansible

DEBUG

false

GPG_KEY

7169605F62C751356D054A26A821E680E5FA6305

LANG

C.UTF-8

PATH

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

PYTHON_SHA256

24887b92e2afd4a2ac602419ad4b596372f67ac9b077190f459aba390faf5550

PYTHON_VERSION

3.12.7


Layers

[#000] sha256:43c4264eed91be63b206e17d93e75256a6097070ce643c5e8f0379998b44f170 - 1.81% (3.46 MB)

[#001] sha256:534b08b3403f1d97d943d13a8bc4cf441c17e2e929b51a8c1f231e981be7faa8 - 0.23% (444 KB)

[#002] sha256:ddae5f2796f9bcc0cc5e4d882621c45fadb7412d71fb3b4ec486d929f688f134 - 6.74% (12.9 MB)

[#003] sha256:7bdf648f802f5ff2e2cef266a61eed177d2479803899e722f55646f2ce51f339 - 0.0% (249 Bytes)

[#004] sha256:748bc53d513986a3e0cc8ae8057d95f4e2357dac0794404d4908cc4ef6458ae2 - 0.0% (2.29 KB)

[#005] sha256:393770757e18e1640d66cdf55ccb324d939c14414e1ee242d82251e2d013edd3 - 91.22% (174 MB)

[#006] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-09-06 22:20:07 UTC

/bin/sh -c #(nop) ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in /

2024-09-06 22:20:07 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

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

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

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

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.12.7

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=24887b92e2afd4a2ac602419ad4b596372f67ac9b077190f459aba390faf5550

2024-10-18 23:23:40 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 --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 --version # buildkit

2024-10-18 23:23:40 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

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

ARG BUILD_ANSIBLE_VARIATION=ansible

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

ARG BUILD_ANSIBLE_PATCH_VERSION=10.5.0

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

ARG PACKAGE_DEPENDENCIES=build-base,git,libffi-dev,jq,openssh-client,openssl-dev,rsync,shadow,sshpass,su-exec

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

ARG PUID=1000

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

ARG PGID=1000

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

ARG REPOSITORY_BUILD_VERSION=v0.6.0

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

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

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

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

2024-10-31 13:09:11 UTC (buildkit.dockerfile.v0)

RUN |6 BUILD_ANSIBLE_VARIATION=ansible BUILD_ANSIBLE_PATCH_VERSION=10.5.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=v0.6.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

2024-10-31 13:09:11 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=serversideup/ansible org.opencontainers.image.description=Run Ansible anywhere with a lightwieght 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=v0.6.0 org.opencontainers.image.licenses=GPL-3.0-or-later

2024-10-31 13:09:11 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2024-10-31 13:09:12 UTC (buildkit.dockerfile.v0)

WORKDIR /ansible

2024-10-31 13:09:12 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-10-31 13:15:47 UTC

Size

189 MB

Content Digest
Labels
  • org.opencontainers.image.authors
    Jay Rogers (@jaydrogers)
  • org.opencontainers.image.description
    Run Ansible anywhere with a lightwieght 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
    v0.6.0

Environment
ANSIBLE_COLLECTIONS_PATH

/etc/ansible/collections

ANSIBLE_HOME

/etc/ansible

ANSIBLE_WORK_DIR

/ansible

DEBUG

false

GPG_KEY

7169605F62C751356D054A26A821E680E5FA6305

LANG

C.UTF-8

PATH

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

PYTHON_SHA256

24887b92e2afd4a2ac602419ad4b596372f67ac9b077190f459aba390faf5550

PYTHON_VERSION

3.12.7


Layers

[#000] sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 - 2.06% (3.9 MB)

[#001] sha256:297822f8b9e67c28cff2cbcc1a1180ada29fac5673577d0d939884c7285ec100 - 0.23% (447 KB)

[#002] sha256:535f4f94803fb705b5d47f6b9a8f8f0941a23dd924906a630e64c1d7cc16aba8 - 6.85% (13 MB)

[#003] sha256:8597cd738ce810e54c9cf0d39d0c484f48392dc07996c90dc3b9a39f4893ecac - 0.0% (250 Bytes)

[#004] sha256:748bc53d513986a3e0cc8ae8057d95f4e2357dac0794404d4908cc4ef6458ae2 - 0.0% (2.29 KB)

[#005] sha256:6b591c945029ccec6c0fa28af8783b5b56a13f13fe325296fa2b86afe302800a - 90.86% (172 MB)

[#006] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)


History
2024-09-06 22:44:10 UTC

/bin/sh -c #(nop) ADD file:ee5bb8409915b11413f44cce4c22fed658aba4fb078a448e08dd4ac9a23581f2 in /

2024-09-06 22:44:11 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

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

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV LANG=C.UTF-8

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

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

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_VERSION=3.12.7

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

ENV PYTHON_SHA256=24887b92e2afd4a2ac602419ad4b596372f67ac9b077190f459aba390faf5550

2024-10-18 23:23:40 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 --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 --version # buildkit

2024-10-18 23:23:40 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

2024-10-18 23:23:40 UTC (buildkit.dockerfile.v0)

CMD ["python3"]

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

ARG BUILD_ANSIBLE_VARIATION=ansible

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

ARG BUILD_ANSIBLE_PATCH_VERSION=10.5.0

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

ARG PACKAGE_DEPENDENCIES=build-base,git,libffi-dev,jq,openssh-client,openssl-dev,rsync,shadow,sshpass,su-exec

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

ARG PUID=1000

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

ARG PGID=1000

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

ARG REPOSITORY_BUILD_VERSION=v0.6.0

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

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

2024-10-31 13:01:29 UTC (buildkit.dockerfile.v0)

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

2024-10-31 13:15:46 UTC (buildkit.dockerfile.v0)

RUN |6 BUILD_ANSIBLE_VARIATION=ansible BUILD_ANSIBLE_PATCH_VERSION=10.5.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=v0.6.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

2024-10-31 13:15:46 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.title=serversideup/ansible org.opencontainers.image.description=Run Ansible anywhere with a lightwieght 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=v0.6.0 org.opencontainers.image.licenses=GPL-3.0-or-later

2024-10-31 13:15:46 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2024-10-31 13:15:47 UTC (buildkit.dockerfile.v0)

WORKDIR /ansible

2024-10-31 13:15:47 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