diff --git a/Dockerfile b/Dockerfile index 6fa686e..301ae94 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM eclipse-temurin:17.0.6_10-jre +FROM amazoncorretto:17 COPY install.sh /opt RUN bash /opt/install.sh && rm -rf /var/lib/apt/lists/* && rm /opt/install.sh diff --git a/install.sh b/install.sh index 97bbf61..7e4c267 100755 --- a/install.sh +++ b/install.sh @@ -3,7 +3,7 @@ set -e PMD_RELEASE="https://github.com/pmd/pmd/releases/download/pmd_releases/6.55.0/pmd-bin-6.55.0.zip" -CHECKSTYLE_RELEASE="https://github.com/checkstyle/checkstyle/releases/download/checkstyle-10.12.0/checkstyle-10.12.0-all.jar" +CHECKSTYLE_RELEASE="https://github.com/checkstyle/checkstyle/releases/download/checkstyle-10.17.0/checkstyle-10.17.0-all.jar" apt-get update && apt-get install --no-install-recommends -y ca-certificates wget unzip curl bash jq