Add Dockerized OpenTofu runner

This commit is contained in:
2026-04-20 17:09:52 -03:00
parent 8d396bd38a
commit 8651544d2c
4 changed files with 83 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
ARG OPENTOFU_VERSION=1.10
FROM ghcr.io/opentofu/opentofu:${OPENTOFU_VERSION}-minimal AS opentofu
FROM alpine:3.22
RUN apk add --no-cache \
bash \
ca-certificates \
curl \
git \
openssh-client
COPY --from=opentofu /usr/local/bin/tofu /usr/local/bin/tofu
WORKDIR /workspace
ENTRYPOINT ["tofu"]