File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ HADOLINT_VERSION ?= v2.8.0
4444HADOLINT_BIN := out/linters/hadolint-$(HADOLINT_VERSION ) -$(LINT_ARCH )
4545$(HADOLINT_BIN ) :
4646 mkdir -p out/linters
47- curl -o $@ .dl -sfL https://github.com/hadolint/hadolint/releases/download/$(HADOLINT_VERSION ) /hadolint-$(LINT_OS ) -$(LINT_ARCH ) \
47+ curl -sSfL - o $@ .dl https://github.com/hadolint/hadolint/releases/download/$(HADOLINT_VERSION ) /hadolint-$(LINT_OS ) -$(LINT_ARCH ) \
4848 || echo " Unable to fetch hadolint for $( LINT_OS) /$( LINT_ARCH) , falling back to local install"
4949 test -f $@ .dl && mv $(HADOLINT_BIN ) .dl $@ || printf " #!/usr/bin/env hadolint\n" > $@
5050 chmod u+x $@
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ HADOLINT_VERSION ?= v2.8.0
4848HADOLINT_BIN := out/linters/hadolint-$ (HADOLINT_VERSION)-$ (LINT_ARCH)
4949$ (HADOLINT_BIN):
5050 mkdir -p out/linters
51- curl -o $ @.dl -sfL https://github.com /hadolint/hadolint/releases/download/$ (HADOLINT_VERSION)/hadolint-$ (LINT_OS)-$ (LINT_ARCH) \
51+ curl -sSfL - o $ @.dl https://github.com /hadolint/hadolint/releases/download/$ (HADOLINT_VERSION)/hadolint-$ (LINT_OS)-$ (LINT_ARCH) \
5252 || echo " Unable to fetch hadolint for $(LINT_OS)/$(LINT_ARCH), falling back to local install"
5353 test -f $ @.dl && mv $ (HADOLINT_BIN).dl $ @ || printf " #!/usr/bin/env hadolint\n " > $ @
5454 chmod u+x $ @
You can’t perform that action at this time.
0 commit comments