Skip to content

Commit

Permalink
Add git to default opentofu image for downloading tf modules
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerAldrich committed Nov 3, 2023
1 parent c18ae05 commit df24c26
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions opentofu/ModuleDefault.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# so that the plugin can use terraform commands to plan/apply the module.
FROM alpine:3

# Needed for terraform modules that include a remote source
RUN apk add --no-cache git

RUN wget https://github.com/opentofu/opentofu/releases/download/v1.6.0-alpha1/tofu_1.6.0-alpha1_amd64.apk
RUN apk add --allow-untrusted tofu_1.6.0-alpha1_amd64.apk

Expand Down

0 comments on commit df24c26

Please sign in to comment.