infra-runner (sha256:98c0e4735f067f992f979670889261eaeb70f3d368722fda42758918abe4d57f)

Published 2026-01-09 14:02:38 +00:00 by javier

Installation

docker pull forgejo.threetablets.com/javier/infra-runner@sha256:98c0e4735f067f992f979670889261eaeb70f3d368722fda42758918abe4d57f
sha256:98c0e4735f067f992f979670889261eaeb70f3d368722fda42758918abe4d57f

Image layers

ADD alpine-minirootfs-3.21.5-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
ARG SOPS_VERSION=3.9.4
ARG AGE_VERSION=1.2.0
ARG TOFU_VERSION=1.9.0
RUN |3 SOPS_VERSION=3.9.4 AGE_VERSION=1.2.0 TOFU_VERSION=1.9.0 /bin/sh -c apk add --no-cache python3 py3-pip openssh-client python3-dev gcc musl-dev libffi-dev bash curl git jq rsync # buildkit
RUN |3 SOPS_VERSION=3.9.4 AGE_VERSION=1.2.0 TOFU_VERSION=1.9.0 /bin/sh -c curl -sLo /usr/local/bin/sops "https://github.com/getsops/sops/releases/download/v${SOPS_VERSION}/sops-v${SOPS_VERSION}.linux.amd64" && chmod +x /usr/local/bin/sops # buildkit
RUN |3 SOPS_VERSION=3.9.4 AGE_VERSION=1.2.0 TOFU_VERSION=1.9.0 /bin/sh -c curl -sLo /tmp/age.tar.gz "https://github.com/FiloSottile/age/releases/download/v${AGE_VERSION}/age-v${AGE_VERSION}-linux-amd64.tar.gz" && tar -xzf /tmp/age.tar.gz -C /tmp && mv /tmp/age/age /usr/local/bin/ && mv /tmp/age/age-keygen /usr/local/bin/ && rm -rf /tmp/age* # buildkit
RUN |3 SOPS_VERSION=3.9.4 AGE_VERSION=1.2.0 TOFU_VERSION=1.9.0 /bin/sh -c curl -sLo /tmp/tofu.zip "https://github.com/opentofu/opentofu/releases/download/v${TOFU_VERSION}/tofu_${TOFU_VERSION}_linux_amd64.zip" && unzip -q /tmp/tofu.zip -d /tmp && mv /tmp/tofu /usr/local/bin/ && rm -rf /tmp/tofu* # buildkit
RUN |3 SOPS_VERSION=3.9.4 AGE_VERSION=1.2.0 TOFU_VERSION=1.9.0 /bin/sh -c pip3 install --break-system-packages pyinfra # buildkit
RUN |3 SOPS_VERSION=3.9.4 AGE_VERSION=1.2.0 TOFU_VERSION=1.9.0 /bin/sh -c apk del python3-dev gcc musl-dev libffi-dev # buildkit
WORKDIR /tmp/provider-cache
COPY opentofu/providers.tf . # buildkit
ENV TF_PLUGIN_CACHE_DIR=/usr/local/share/tofu/plugins
RUN |3 SOPS_VERSION=3.9.4 AGE_VERSION=1.2.0 TOFU_VERSION=1.9.0 /bin/sh -c mkdir -p $TF_PLUGIN_CACHE_DIR && tofu init && rm -rf /tmp/provider-cache # buildkit
ENV TF_PLUGIN_CACHE_DIR=/usr/local/share/tofu/plugins
WORKDIR /workspace
RUN |3 SOPS_VERSION=3.9.4 AGE_VERSION=1.2.0 TOFU_VERSION=1.9.0 /bin/sh -c sops --version && age --version && tofu --version && pyinfra --version && ssh -V # buildkit
CMD ["/bin/bash"]
Details
Container
2026-01-09 14:02:38 +00:00
0
OCI / Docker
linux/amd64
276 MiB
Versions (1) View all
dev 2026-01-09