mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 00:31:07 -05:00
added checkstyle
This commit is contained in:
parent
16985c1cdb
commit
91eb58e61a
1 changed files with 11 additions and 0 deletions
11
Dockerfile
11
Dockerfile
|
@ -187,6 +187,17 @@ RUN wget https://storage.googleapis.com/dart-archive/channels/stable/release/${D
|
|||
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories \
|
||||
&& apk add --update --no-cache rakudo zef
|
||||
|
||||
######################
|
||||
# Install CheckStyle #
|
||||
######################
|
||||
|
||||
RUN CHECKSTYLE_LATEST=$(curl -s https://api.github.com/repos/checkstyle/checkstyle/releases/latest \
|
||||
| grep browser_download_url \
|
||||
| grep ".jar" \
|
||||
| cut -d '"' -f 4) \
|
||||
&& curl -sSL $CHECKSTYLE_LATEST \
|
||||
--output /usr/bin/checkstyle.jar
|
||||
|
||||
###########################################
|
||||
# Load GitHub Env Vars for GitHub Actions #
|
||||
###########################################
|
||||
|
|
Loading…
Reference in a new issue