mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
Update docker build to install newer tofu binary
The current 1.6 that gets installed does not have the provider-defined functions feature, which has a new syntax. The new syntax causes `tofu fmt` fails on code that uses this feature. Using the latest current release should fix this and possibly other issues. Better solutions certainly exist, just trying to keep this simple. Signed-off-by: jimbocoder <jimbocoder@gmail.com>
This commit is contained in:
parent
5af24ae7a6
commit
7b4692fe47
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ RUN apk add --no-cache \
|
|||
setuptools
|
||||
|
||||
ARG PRE_COMMIT_VERSION=${PRE_COMMIT_VERSION:-latest}
|
||||
ARG TOFU_VERSION=${TOFU_VERSION:-1.6.1}
|
||||
ARG TOFU_VERSION=${TOFU_VERSION:-1.9.0}
|
||||
|
||||
# Install pre-commit
|
||||
RUN [ ${PRE_COMMIT_VERSION} = "latest" ] && pip3 install --no-cache-dir pre-commit \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue