Skip to content

Commit edd0b91

Browse files
committed
fix issues
1 parent b2d7cd1 commit edd0b91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
8990
RUN . /.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) && \

0 commit comments

Comments
 (0)