OpenTofu Container Image¶
Ready-to-run OpenTofu CLI and devcontainer images for reproducible infrastructure-as-code workflows.
Features¶
- Standard and devcontainer variants so you can pick a minimal runtime or a full developer shell.
Usage¶
Pull the images¶
podman pull registry.gitlab.com/niclas-zone/ctr/opentofu:latest
podman pull registry.gitlab.com/niclas-zone/ctr/opentofu:1.7.0
podman pull registry.gitlab.com/niclas-zone/ctr/opentofu:devcontainer
podman pull registry.gitlab.com/niclas-zone/ctr/opentofu:1.7.0-devcontainer
Run OpenTofu commands (standard image)¶
podman run --rm -it \
-v $(pwd):/workspace \
-w /workspace \
registry.gitlab.com/niclas-zone/ctr/opentofu:latest \
version
podman run --rm -it \
-v $(pwd):/workspace \
-w /workspace \
registry.gitlab.com/niclas-zone/ctr/opentofu:latest \
init
Author¶
Niclas Heinz
Contributing¶
Contributions are welcome! Please open an issue or submit a merge request if you have suggestions or improvements.
License¶
This project is licensed under the MIT License. See LICENSE for details.