We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0751a04 commit 506466cCopy full SHA for 506466c
1 file changed
Dockerfile.tools
@@ -147,10 +147,10 @@ COPY lib_getopt /usr/local/bin/
147
COPY src/pre_commit_terraform/ /usr/local/lib/python3.12/site-packages/pre_commit_terraform/
148
149
# Install hooks extra deps
150
-RUN if [ "$(grep -o '^terraform-docs SKIPPED$' /usr/bin/tools_versions_info)" = "" ]; then \
+RUN if ! grep -q '^terraform-docs: SKIPPED$' /usr/bin/tools_versions_info; then \
151
apk add --no-cache perl=~5 \
152
; fi && \
153
- if [ "$(grep -o '^infracost SKIPPED$' /usr/bin/tools_versions_info)" = "" ]; then \
+ if ! grep -q '^infracost: SKIPPED$' /usr/bin/tools_versions_info; then \
154
apk add --no-cache jq=~1 \
155
156
# Fix git runtime fatal:
0 commit comments