From e28512b503317fae6762506c4705a71fc1c8c535 Mon Sep 17 00:00:00 2001 From: Luke Else Date: Sat, 6 Jun 2026 17:23:44 +0100 Subject: [PATCH] feat: Created devcontainer for opentofu --- tf-dev/Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tf-dev/Dockerfile diff --git a/tf-dev/Dockerfile b/tf-dev/Dockerfile new file mode 100644 index 0000000..6f849e8 --- /dev/null +++ b/tf-dev/Dockerfile @@ -0,0 +1,13 @@ +FROM git.luke-else.co.uk/luke-else/lab:latest + +# Download the installer script: +RUN curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opentofu.sh -o install-opentofu.sh +RUN chmod +x install-opentofu.sh + +# Run the installer +RUN ./install-opentofu.sh --install-method apk + +# Remove the installer: +RUN rm -f install-opentofu.sh + +CMD [ "tmux" ] \ No newline at end of file