mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 15:41:02 -05:00
make clj-kondo version a build arg
This commit is contained in:
parent
69b98486a3
commit
8a5be8d448
1 changed files with 4 additions and 3 deletions
|
@ -105,9 +105,10 @@ RUN curl -Ls "$(curl -Ls https://api.github.com/repos/terraform-linters/tflint/r
|
||||||
#####################
|
#####################
|
||||||
# Install clj-kondo #
|
# Install clj-kondo #
|
||||||
#####################
|
#####################
|
||||||
RUN curl -sLO https://github.com/borkdude/clj-kondo/releases/download/v2020.06.12/clj-kondo-2020.06.12-linux-static-amd64.zip \
|
ARG CLJ_KONDO_VERSION='2020.06.12'
|
||||||
&& unzip clj-kondo-2020.06.12-linux-static-amd64.zip \
|
RUN curl -sLO https://github.com/borkdude/clj-kondo/releases/download/v${CLJ_KONDO_VERSION}/clj-kondo-${CLJ_KONDO_VERSION}-linux-static-amd64.zip \
|
||||||
&& rm clj-kondo-2020.06.12-linux-static-amd64.zip \
|
&& unzip clj-kondo-${CLJ_KONDO_VERSION}-linux-static-amd64.zip \
|
||||||
|
&& rm clj-kondo-${CLJ_KONDO_VERSION}-linux-static-amd64.zip \
|
||||||
&& mv clj-kondo /usr/bin/
|
&& mv clj-kondo /usr/bin/
|
||||||
|
|
||||||
###########################################
|
###########################################
|
||||||
|
|
Loading…
Reference in a new issue