container-images/opentofu-tools (e58c6bf)
Published 2025-09-24 05:42:44 +00:00 by registry
Installation
docker pull forgejo.commonground.utrecht.nl/gemeente-utrecht/container-images/opentofu-tools:e58c6bfsha256:8467e5a361f0b47ba5f89d6e8e6f8af70cfdb5bdbdf02ba18cfea2a0b6f52d9fImage layers
| ADD alpine-minirootfs-3.18.12-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ENV OPENTOFU_VERSION=1.6.2 |
| ENV TG_VERSION=v0.67.16 |
| ENV SOPS_VERSION=v3.7.3 |
| ENV GO_VERSION=1.21.0 |
| RUN /bin/sh -c apk add --update --no-cache bash git openssh make curl python3 nodejs # buildkit |
| RUN /bin/sh -c curl -fL https://github.com/opentofu/opentofu/releases/download/v${OPENTOFU_VERSION}/tofu_${OPENTOFU_VERSION}_linux_amd64.zip -o opentofu.zip && unzip opentofu.zip && mv tofu /usr/local/bin/ && rm -f opentofu.zip && chmod +x /usr/local/bin/tofu # buildkit |
| RUN /bin/sh -c curl -fL https://github.com/gruntwork-io/terragrunt/releases/download/${TG_VERSION}/terragrunt_linux_amd64 -o /usr/local/bin/terragrunt && chmod +x /usr/local/bin/terragrunt # buildkit |
| RUN /bin/sh -c curl -fL https://github.com/mozilla/sops/releases/download/${SOPS_VERSION}/sops-${SOPS_VERSION}.linux.amd64 -o ./sops && chmod +x ./sops && mv ./sops /usr/local/bin/ # buildkit |
| RUN /bin/sh -c curl -fLo golang.tgz https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz && tar -C /usr/local -xzf golang.tgz # buildkit |
| ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/go/bin |