File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -84,14 +84,14 @@ RUN /install/trivy.sh
8484
8585# Checking binaries versions and write it to debug file
8686
87- # SC3037 - We do not use `echo` flags here, so it's false-positive
88- # hadolint ignore=SC3037
87+ # SC2086 - We do not need to quote "$F" variable, because it's not contain spaces
88+ # DL4006 - Not Applicable for for /bin/sh in alpine images. Disable, as recommended by check itself
89+ # hadolint ignore=SC2086,DL4006
8990RUN . /.env && \
9091 F=tools_versions_info && \
9192 pre-commit --version >> $F && \
9293 (if [ "$OPENTOFU_VERSION" != "false" ]; then ./tofu --version | head -n 1 >> $F; else echo "opentofu SKIPPED" >> $F ; fi) && \
9394 (if [ "$TERRAFORM_VERSION" != "false" ]; then ./terraform --version | head -n 1 >> $F; else echo "terraform SKIPPED" >> $F ; fi) && \
94-
9595 \
9696 (if [ "$CHECKOV_VERSION" != "false" ]; then echo "checkov $(checkov --version)" >> $F; else echo "checkov SKIPPED" >> $F ; fi) && \
9797 (if [ "$HCLEDIT_VERSION" != "false" ]; then echo "hcledit $(./hcledit version)" >> $F; else echo "hcledit SKIPPED" >> $F ; fi) && \
You can’t perform that action at this time.
0 commit comments