Skip to content

Commit 9adffbd

Browse files
authored
Bump checkstyle 9.2 (#36)
* Bumping checkstyle to 9.2 * Bump java version for Dockerfile to 8u275 Version of openjdk-jre available for alpine-3.10 is 8.275.01-r0. See https://pkgs.alpinelinux.org/packages?name=openjdk8-jre&branch=v3.10 * Replace deprecated MAINTAINER in Dockerfile MAINTAINER is deprecated, replaced with using LABEL. See https://docs.docker.com/engine/reference/builder/#maintainer-deprecated * Updated docs using scrape-docs * Update config for new version of CheckStyle scope was changed to accessModifiers in Checkstyle 8.42. See https://checkstyle.sourceforge.io/releasenotes.html#Release_8.42 and checkstyle/checkstyle#7417
1 parent f9c5dbe commit 9adffbd

File tree

5 files changed

+40
-29
lines changed

5 files changed

+40
-29
lines changed

CHECKSTYLE_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.39
1+
9.2

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM ruby:2.6.3-alpine
22

33
ENV LANG C.UTF-8
44

5-
MAINTAINER "Code Climate <[email protected]>"
5+
LABEL org.opencontainers.image.authors="Code Climate <[email protected]>"
66

77
RUN adduser -u 9000 -D app
88

@@ -19,8 +19,8 @@ RUN { \
1919
ENV JAVA_HOME /usr/lib/jvm/java-1.8-openjdk/jre
2020
ENV PATH $PATH:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/bin
2121

22-
ENV JAVA_VERSION 8u252
23-
ENV JAVA_ALPINE_VERSION 8.252.09-r0
22+
ENV JAVA_VERSION 8u275
23+
ENV JAVA_ALPINE_VERSION 8.275.01-r0
2424

2525
RUN set -x \
2626
&& apk update && apk add --no-cache --update \

bin/install-checkstyle.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
# use `make upgrade` to update this URL to the latest version
4-
URL='https://github.com/checkstyle/checkstyle/releases/download/checkstyle-8.39/checkstyle-8.39-all.jar'
4+
URL='https://github.com/checkstyle/checkstyle/releases/download/checkstyle-9.2/checkstyle-9.2-all.jar'
55

66

77
wget -O /usr/local/bin/checkstyle.jar $URL

0 commit comments

Comments
 (0)