forgejo/ansible (latest)

Published 2026-01-03 14:48:07 +01:00 by eofredj

Installation

docker pull git.desord.re/public/forgejo/ansible:latest
sha256:6f72cd50f5c97fa86411b3e70d199841814c11f7396de0ca9e4eee23761edf00

Image layers

ADD alpine-minirootfs-3.23.2-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:0cee4c6b5b628052b0560436e05999b1a0d0a06f0bfd38cfb69f6de567455a91 in /pipx
COPY file:8301a430e8589141c4ce365861e1b3ba6a80612c92f1da4dd7baab984993212e 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-01-03T13:43:30.088Z" "org.opencontainers.image.description"="" "org.opencontainers.image.licenses"="" "org.opencontainers.image.revision"="e126999a7f4cecef831cf609248a86e9d05571d4" "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.1" "re.desord.build"="12"

Labels

Key Value
io.buildah.version 1.33.7
org.opencontainers.image.authors eofredj
org.opencontainers.image.created 2026-01-03T13:43:30.088Z
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.1
org.opencontainers.image.revision e126999a7f4cecef831cf609248a86e9d05571d4
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.1
re.desord.build 12
Details
Container
2026-01-03 14:48:07 +01:00
0
OCI / Docker
linux/amd64
eofredj
229 MiB
Versions (4) View all
latest 2026-01-03
2 2026-01-03
2.20 2026-01-03
2.20.1 2026-01-03