forgejo/ansible (2)

Published 2026-02-25 22:55:21 +01:00 by eofredj

Installation

docker pull git.desord.re/public/forgejo/ansible:2
sha256:3bbdd3dde24e7688138991b4a7969f15a36d1c97ed79bfb55cd5b398891909e4

Image layers

ADD alpine-minirootfs-3.23.3-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ARG BUILD_DATE
ARG ANSIBLE_VERSION BUILD_DATE
LABEL org.opencontainers.image.created="${BUILD_DATE}" org.opencontainers.image.authors="Simon Baerlocher <s.baerlocher@sbaerlocher.ch>" org.opencontainers.image.vendor="arillso" org.opencontainers.image.licenses="MIT" org.opencontainers.image.url="https://github.com/arillso/docker.ansible" org.opencontainers.image.documentation="https://github.com/arillso/docker.ansible" org.opencontainers.image.source="https://github.com/arillso/docker.ansible" org.opencontainers.image.ref.name="Ansible ${ANSIBLE_VERSION}" org.opencontainers.image.title="Ansible ${ANSIBLE_VERSION}" org.opencontainers.image.description="Ansible ${ANSIBLE_VERSION} container image" org.opencontainers.image.version="${ANSIBLE_VERSION}"
ENV PIPX_HOME=/pipx PIPX_BIN_DIR=/pipx/bin PATH=/pipx/bin:$PATH
ENV USER=ansible GROUP=ansible UID=1000 GID=1000
WORKDIR /home/ansible
/bin/sh -c echo "http://dl-cdn.alpinelinux.org/alpine/v$(cut -d'.' -f1-2 /etc/alpine-release)/community" >> /etc/apk/repositories && apk update && apk add --no-cache 'python3>=3.12.0' 'python3<3.13.0' 'bash>=5.2.0' 'bash<5.4.0' 'git>=2.49.0' 'git<3.0.0' 'curl>=8.14.0' 'curl<9.0.0' 'openssh-client-common>=10.0' 'openssh-client-common<11.0' 'openssh-client-default>=10.0' 'openssh-client-default<11.0' 'openssh-keygen>=10.0' 'openssh-keygen<11.0' 'sshpass>=1.10' 'sshpass<2.0' 'rsync>=3.4.0' 'rsync<4.0.0' 'kubectl>=1.33.0' 'kubectl<1.35.0' 'helm>=3.18.0' 'helm<4.0.0' 'kustomize>=5.6.0' 'kustomize<6.0.0' 'jq>=1.8.0' 'jq<2.0.0' 'gnupg>=2.4.0' 'gnupg<3.0.0' 'openssl>=3.5.0' 'openssl<4.0.0' && addgroup -g ${GID} ${GROUP} && adduser -h /home/ansible -s /bin/bash -G ${GROUP} -D -u ${UID} ${USER} && ln -sf /usr/bin/python3 /usr/bin/python && mkdir -p /home/ansible/.gnupg /home/ansible/.ssh /data && chown -R ${USER}:${GROUP} /home/ansible /data && chmod 0700 /home/ansible/.gnupg /home/ansible/.ssh && chmod 0755 /data && rm -rf /var/cache/apk/* /tmp/*
COPY dir:fb970a20dcc2469f27db5e5739c45dd8ee1bdae6ad83f7e10efc72c461ca26c0 in /pipx
COPY file:54e8c35e59bb8f760310ed5ed01f5e67d565125650857dbe6ddfb8026ec34191 in /requirements.yml
/bin/sh -c mkdir -p /etc/ansible && echo 'all:' > /etc/ansible/hosts.yml && echo ' hosts:' >> /etc/ansible/hosts.yml && echo ' localhost:' >> /etc/ansible/hosts.yml && echo ' ansible_connection: local' >> /etc/ansible/hosts.yml && echo ' ansible_python_interpreter: /pipx/venvs/ansible/bin/python3' >> /etc/ansible/hosts.yml && echo '[defaults]' > /etc/ansible/ansible.cfg && echo 'inventory = /etc/ansible/hosts.yml' >> /etc/ansible/ansible.cfg && echo 'host_key_checking = False' >> /etc/ansible/ansible.cfg && echo 'strategy_plugins = /pipx/venvs/ansible/lib/python3.12/site-packages/ansible_mitogen/plugins/strategy' >> /etc/ansible/ansible.cfg && echo 'strategy = mitogen_linear' >> /etc/ansible/ansible.cfg && echo 'stdout_callback = default' >> /etc/ansible/ansible.cfg && echo 'pipelining = True' >> /etc/ansible/ansible.cfg && rm -rf /tmp/*
USER ${USER}
ENV ANSIBLE_FORCE_COLOR=True
/bin/sh -c ansible-galaxy collection install -r /requirements.yml -p /home/ansible/.ansible/collections
CMD ["ansible-playbook", "--version"]
LABEL "org.opencontainers.image.authors"="eofredj" "org.opencontainers.image.created"="2026-02-25T21:47:26.780Z" "org.opencontainers.image.description"="" "org.opencontainers.image.licenses"="" "org.opencontainers.image.revision"="b836e603b0ea796485ac9773a5d7132941556cb9" "org.opencontainers.image.source"="https://git.desord.re/forgejo/ansible" "org.opencontainers.image.title"="forgejo/ansible" "org.opencontainers.image.url"="https://git.desord.re/public/-/packages/container/forgejo%2fansible" "org.opencontainers.image.vendor"="Desord Republic" "org.opencontainers.image.version"="2.20.3" "re.desord.build"="13"

Labels

Key Value
io.buildah.version 1.33.7
org.opencontainers.image.authors eofredj
org.opencontainers.image.created 2026-02-25T21:47:26.780Z
org.opencontainers.image.description
org.opencontainers.image.documentation https://github.com/arillso/docker.ansible
org.opencontainers.image.licenses
org.opencontainers.image.ref.name Ansible 2.20.3
org.opencontainers.image.revision b836e603b0ea796485ac9773a5d7132941556cb9
org.opencontainers.image.source https://git.desord.re/forgejo/ansible
org.opencontainers.image.title forgejo/ansible
org.opencontainers.image.url https://git.desord.re/public/-/packages/container/forgejo%2fansible
org.opencontainers.image.vendor Desord Republic
org.opencontainers.image.version 2.20.3
re.desord.build 13
Details
Container
2026-02-25 22:55:21 +01:00
0
OCI / Docker
linux/amd64
eofredj
228 MiB
Versions (5) View all
latest 2026-02-25
2 2026-02-25
2.20 2026-02-25
2.20.3 2026-02-25
2.20.1 2026-01-03