2024-10-11 21:51:05 UTC
186 MB
/etc/ansible/collections
ANSIBLE_HOME/etc/ansible
ANSIBLE_WORK_DIR/ansible
DEBUGfalse
GPG_KEY7169605F62C751356D054A26A821E680E5FA6305
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_VERSION3.12.7
[#000] sha256:43c4264eed91be63b206e17d93e75256a6097070ce643c5e8f0379998b44f170 - 1.86% (3.46 MB)
[#001] sha256:89daaeb4e2cbd47a43a83b4468c6a7d3848f67718bb25a73acd4ab6faf4968f7 - 0.23% (444 KB)
[#002] sha256:e4d124d6aa6342535447eb84dc6456fd3cfe0446a533a5fd472d7803338f39bc - 6.75% (12.6 MB)
[#003] sha256:27ac5a2e338641c258d63fd1b13537b58e096f444fe914e54d85b820998583eb - 0.0% (251 Bytes)
[#004] sha256:686c52bccb2e0cc0347a27cb3cc47f7b1a64d6f138951f54c0418a651890c742 - 0.0% (2.29 KB)
[#005] sha256:b72b6c9f8a4748299d3ab73f75f09ce15158457784bfe7b88cd09092b6e2d158 - 91.16% (170 MB)
[#006] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in /
2024-09-06 22:20:07 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-10-01 10:04:25 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-10-01 10:04:25 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-10-01 10:04:25 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
2024-10-01 10:04:25 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
2024-10-01 10:04:25 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.12.7
2024-10-01 10:04:25 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 expat-dev 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"; 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 $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" 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-01 10:04:25 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-01 10:04:25 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)ARG BUILD_ANSIBLE_VARIATION=ansible
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)ARG BUILD_ANSIBLE_PATCH_VERSION=8.7.0
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)ARG PACKAGE_DEPENDENCIES=build-base,git,libffi-dev,openssh-client,openssl-dev,rsync,shadow,sshpass,su-exec
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)ARG PUID=1000
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)ARG PGID=1000
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)ARG REPOSITORY_BUILD_VERSION=v0.5.0
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)ENV DEBUG=false ANSIBLE_WORK_DIR=/ansible ANSIBLE_HOME=/etc/ansible ANSIBLE_COLLECTIONS_PATH=/etc/ansible/collections
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)COPY --chown=root:root --chmod=755 src/rootfs / # buildkit
2024-10-11 21:51:04 UTC (buildkit.dockerfile.v0)RUN |6 BUILD_ANSIBLE_VARIATION=ansible BUILD_ANSIBLE_PATCH_VERSION=8.7.0 PACKAGE_DEPENDENCIES=build-base,git,libffi-dev,openssh-client,openssl-dev,rsync,shadow,sshpass,su-exec PUID=1000 PGID=1000 REPOSITORY_BUILD_VERSION=v0.5.0 /bin/sh -c serversideup-dep-install-alpine ${PACKAGE_DEPENDENCIES} && serversideup-dep-install-debian ${PACKAGE_DEPENDENCIES} && 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-11 21:51:04 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.5.0 org.opencontainers.image.licenses=GPL-3.0-or-later
2024-10-11 21:51:04 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2024-10-11 21:51:05 UTC (buildkit.dockerfile.v0)WORKDIR /ansible
2024-10-11 21:51:05 UTC (buildkit.dockerfile.v0)CMD ["ansible-playbook" "--version"]
2024-10-11 21:57:04 UTC
185 MB
/etc/ansible/collections
ANSIBLE_HOME/etc/ansible
ANSIBLE_WORK_DIR/ansible
DEBUGfalse
GPG_KEY7169605F62C751356D054A26A821E680E5FA6305
LANGC.UTF-8
PATH/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PYTHON_VERSION3.12.7
[#000] sha256:cf04c63912e16506c4413937c7f4579018e4bb25c272d989789cfba77b12f951 - 2.11% (3.9 MB)
[#001] sha256:f0d3d23155cbbb3aca6949baedd1935e7ad9f792b943689e594e2efc8a828dec - 0.24% (447 KB)
[#002] sha256:b408c1b12cb3cc086ae896639914e67a4501ca36bed4296c51f4632422ff8dcc - 6.86% (12.7 MB)
[#003] sha256:130d9e44d8c3900adf248c191e4eb348430a161f1639a09cd17ba8fa23d978f1 - 0.0% (247 Bytes)
[#004] sha256:686c52bccb2e0cc0347a27cb3cc47f7b1a64d6f138951f54c0418a651890c742 - 0.0% (2.29 KB)
[#005] sha256:ae6765100f92b13f803cf0ffb76611bc9ff0e2cb574c9f49ba1cff3a1eda5378 - 90.79% (168 MB)
[#006] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)
/bin/sh -c #(nop) ADD file:ee5bb8409915b11413f44cce4c22fed658aba4fb078a448e08dd4ac9a23581f2 in /
2024-09-06 22:44:11 UTC/bin/sh -c #(nop) CMD ["/bin/sh"]
2024-10-01 10:04:25 UTC (buildkit.dockerfile.v0)ENV PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
2024-10-01 10:04:25 UTC (buildkit.dockerfile.v0)ENV LANG=C.UTF-8
2024-10-01 10:04:25 UTC (buildkit.dockerfile.v0)RUN /bin/sh -c set -eux; apk add --no-cache ca-certificates tzdata ; # buildkit
2024-10-01 10:04:25 UTC (buildkit.dockerfile.v0)ENV GPG_KEY=7169605F62C751356D054A26A821E680E5FA6305
2024-10-01 10:04:25 UTC (buildkit.dockerfile.v0)ENV PYTHON_VERSION=3.12.7
2024-10-01 10:04:25 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 expat-dev 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"; 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 $(test "$gnuArch" != 'riscv64-linux-musl' && echo '--enable-optimizations') --enable-option-checking=fatal --enable-shared --with-lto --with-system-expat --with-ensurepip ; nproc="$(nproc)"; EXTRA_CFLAGS="-DTHREAD_STACK_SIZE=0x100000"; LDFLAGS="${LDFLAGS:--Wl},--strip-all"; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:-}" "PROFILE_TASK=${PROFILE_TASK:-}" ; rm python; make -j "$nproc" "EXTRA_CFLAGS=${EXTRA_CFLAGS:-}" "LDFLAGS=${LDFLAGS:--Wl},-rpath='\$\$ORIGIN/../lib'" "PROFILE_TASK=${PROFILE_TASK:-}" 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-01 10:04:25 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-01 10:04:25 UTC (buildkit.dockerfile.v0)CMD ["python3"]
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)ARG BUILD_ANSIBLE_VARIATION=ansible
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)ARG BUILD_ANSIBLE_PATCH_VERSION=8.7.0
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)ARG PACKAGE_DEPENDENCIES=build-base,git,libffi-dev,openssh-client,openssl-dev,rsync,shadow,sshpass,su-exec
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)ARG PUID=1000
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)ARG PGID=1000
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)ARG REPOSITORY_BUILD_VERSION=v0.5.0
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)ENV DEBUG=false ANSIBLE_WORK_DIR=/ansible ANSIBLE_HOME=/etc/ansible ANSIBLE_COLLECTIONS_PATH=/etc/ansible/collections
2024-10-11 21:50:22 UTC (buildkit.dockerfile.v0)COPY --chown=root:root --chmod=755 src/rootfs / # buildkit
2024-10-11 21:57:04 UTC (buildkit.dockerfile.v0)RUN |6 BUILD_ANSIBLE_VARIATION=ansible BUILD_ANSIBLE_PATCH_VERSION=8.7.0 PACKAGE_DEPENDENCIES=build-base,git,libffi-dev,openssh-client,openssl-dev,rsync,shadow,sshpass,su-exec PUID=1000 PGID=1000 REPOSITORY_BUILD_VERSION=v0.5.0 /bin/sh -c serversideup-dep-install-alpine ${PACKAGE_DEPENDENCIES} && serversideup-dep-install-debian ${PACKAGE_DEPENDENCIES} && 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-11 21:57:04 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.5.0 org.opencontainers.image.licenses=GPL-3.0-or-later
2024-10-11 21:57:04 UTC (buildkit.dockerfile.v0)ENTRYPOINT ["/entrypoint.sh"]
2024-10-11 21:57:04 UTC (buildkit.dockerfile.v0)WORKDIR /ansible
2024-10-11 21:57:04 UTC (buildkit.dockerfile.v0)CMD ["ansible-playbook" "--version"]
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.