Namespace
serversideup
Image / Tag
ansible:9.12-bullseye-python3.11-v0.7.0
Content Digest
sha256:307c47025250eeb3bbc46c72599dceb8f68caa33780a098d48abdc8ea18f04fd
Details
Created

2024-11-12 16:00:13 UTC

Size

437 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.7.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

07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

PYTHON_VERSION

3.11.10


Layers

[#000] sha256:c2056d933cd629f55ac55802dda223f122286bf60ec42a24f0d0f6ae2615315c - 12.01% (52.6 MB)

[#001] sha256:d3f895247ac53f8ccaff2388685ac5288e243187f243654f4af6205a31f8b693 - 3.39% (14.8 MB)

[#002] sha256:05d199724b11b5ccb55a34503a046bfe20064837b3f7beb547b9a3eab1cb57e0 - 11.93% (52.2 MB)

[#003] sha256:293ef60bdfab8ecc34823af26b3df1d9742e9cb94c1103aa66259e0d57784e72 - 42.96% (188 MB)

[#004] sha256:1048ada1a17ce456b20fb8e08c765b5e9d99218c13401d815f484b9395ebc4b1 - 1.32% (5.77 MB)

[#005] sha256:907e150fc665cf94138efdddad5bb7b452fab42115fc2a13b46ef6970051c4b5 - 5.38% (23.5 MB)

[#006] sha256:be6d6c94daecfc03f5a55bd10c36e950340f807b189bd2f6585a36ff6f7f3285 - 0.0% (250 Bytes)

[#007] sha256:1a0b34d635b0cbe5ed9f88abc686cbef6088b67bf1456a9f02dfeb62d2fecf9c - 0.0% (2.29 KB)

[#008] sha256:9131a4923d2d32608e0cba07a5ceb7f044ad6ce3fab2c89738e714b1bbc14c09 - 23.0% (101 MB)

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


History
2023-04-28 21:58:08 UTC (buildkit.dockerfile.v0)

ADD rootfs.tar.xz / # buildkit

2023-04-28 21:58:08 UTC (buildkit.dockerfile.v0)

CMD ["bash"]

2023-04-28 21:58:08 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase wget ; rm -rf /var/lib/apt/lists/* # buildkit

2024-01-09 01:14:25 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/* # buildkit

2024-01-09 01:14:25 UTC (buildkit.dockerfile.v0)

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 ; rm -rf /var/lib/apt/lists/* # buildkit

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; apt-get update; apt-get install -y --no-install-recommends libbluetooth-dev tk-dev uuid-dev ; rm -rf /var/lib/apt/lists/* # buildkit

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

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

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

ENV PYTHON_VERSION=3.11.10

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

ENV PYTHON_SHA256=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

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

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 --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==65.5.1' wheel ; 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-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

ARG BUILD_ANSIBLE_VARIATION=ansible

2024-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

ARG BUILD_ANSIBLE_PATCH_VERSION=9.12.0

2024-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

ARG PACKAGE_DEPENDENCIES=git,gosu,jq,less,libffi-dev,libhdf5-dev,libssl-dev,openssh-client,sshpass

2024-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

ARG PUID=1000

2024-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

ARG PGID=1000

2024-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

ARG REPOSITORY_BUILD_VERSION=v0.7.0

2024-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

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

2024-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

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

2024-11-12 16:00:13 UTC (buildkit.dockerfile.v0)

RUN |6 BUILD_ANSIBLE_VARIATION=ansible BUILD_ANSIBLE_PATCH_VERSION=9.12.0 PACKAGE_DEPENDENCIES=git,gosu,jq,less,libffi-dev,libhdf5-dev,libssl-dev,openssh-client,sshpass PUID=1000 PGID=1000 REPOSITORY_BUILD_VERSION=v0.7.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-11-12 16:00:13 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.7.0 org.opencontainers.image.licenses=GPL-3.0-or-later

2024-11-12 16:00:13 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2024-11-12 16:00:13 UTC (buildkit.dockerfile.v0)

WORKDIR /ansible

2024-11-12 16:00:13 UTC (buildkit.dockerfile.v0)

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

Details
Created

2024-11-12 16:03:32 UTC

Size

431 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.7.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

07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

PYTHON_VERSION

3.11.10


Layers

[#000] sha256:76475c2689e229fac9e8ba4a02e64decb7fd62b2a3e4ad65ba97f8e1a35471f2 - 11.88% (51.2 MB)

[#001] sha256:1deb2c2ef23607994f7238c8d97d113f5ebd868b8eb64a0c10d2e0983f036a39 - 3.48% (15 MB)

[#002] sha256:3fbc6072bf5318ca0f9f250b4fcc6254d92483650689f0b0d77274be187abd96 - 12.12% (52.3 MB)

[#003] sha256:f13f3e7a61817231ad609702b6918e16648b3eec453567dbedd80952df7e3957 - 42.0% (181 MB)

[#004] sha256:bb734d4181de65694b6676903262b5ee85d8817be5b5cb5c6913b0f0ef2a8e97 - 1.36% (5.88 MB)

[#005] sha256:159e38200717c21216db1256990589b634a9d6879be471bf693c5071a519a407 - 5.38% (23.2 MB)

[#006] sha256:0cfe634a06654d952fc1eb2d7a65ae81b1e6b6484d2e43511f575ba833d734f3 - 0.0% (248 Bytes)

[#007] sha256:1a0b34d635b0cbe5ed9f88abc686cbef6088b67bf1456a9f02dfeb62d2fecf9c - 0.0% (2.29 KB)

[#008] sha256:7e376d5fa0414467c1ad1ed5a947395f59bf084918c23e65031741067488098c - 23.77% (103 MB)

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


History
2023-04-28 21:58:08 UTC

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

2023-04-28 21:58:08 UTC

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

2023-04-28 21:58:08 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl gnupg netbase wget ; rm -rf /var/lib/apt/lists/* # buildkit

2024-01-09 01:14:25 UTC (buildkit.dockerfile.v0)

RUN /bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps ; rm -rf /var/lib/apt/lists/* # buildkit

2024-01-09 01:14:25 UTC (buildkit.dockerfile.v0)

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 ; rm -rf /var/lib/apt/lists/* # buildkit

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; apt-get update; apt-get install -y --no-install-recommends libbluetooth-dev tk-dev uuid-dev ; rm -rf /var/lib/apt/lists/* # buildkit

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

ENV GPG_KEY=A035C8C19219BA821ECEA86B64E628F8D684696D

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

ENV PYTHON_VERSION=3.11.10

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

ENV PYTHON_SHA256=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372

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

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 --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==65.5.1' wheel ; 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-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

ARG BUILD_ANSIBLE_VARIATION=ansible

2024-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

ARG BUILD_ANSIBLE_PATCH_VERSION=9.12.0

2024-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

ARG PACKAGE_DEPENDENCIES=git,gosu,jq,less,libffi-dev,libhdf5-dev,libssl-dev,openssh-client,sshpass

2024-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

ARG PUID=1000

2024-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

ARG PGID=1000

2024-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

ARG REPOSITORY_BUILD_VERSION=v0.7.0

2024-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

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

2024-11-12 15:59:39 UTC (buildkit.dockerfile.v0)

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

2024-11-12 16:03:32 UTC (buildkit.dockerfile.v0)

RUN |6 BUILD_ANSIBLE_VARIATION=ansible BUILD_ANSIBLE_PATCH_VERSION=9.12.0 PACKAGE_DEPENDENCIES=git,gosu,jq,less,libffi-dev,libhdf5-dev,libssl-dev,openssh-client,sshpass PUID=1000 PGID=1000 REPOSITORY_BUILD_VERSION=v0.7.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-11-12 16:03:32 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.7.0 org.opencontainers.image.licenses=GPL-3.0-or-later

2024-11-12 16:03:32 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["/entrypoint.sh"]

2024-11-12 16:03:32 UTC (buildkit.dockerfile.v0)

WORKDIR /ansible

2024-11-12 16:03:32 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