diff --git a/.env b/.env index a75859fa1..aa12dd7ca 100644 --- a/.env +++ b/.env @@ -1,5 +1,5 @@ # The Sonarqube base image. 'latest' if building locally, '8.5-community' if targeting a specific version -SONARQUBE_VERSION=latest +SONARQUBE_VERSION=10.1-community # The name of the Dockerfile to run. 'Dockerfile' is building locally, 'release.Dockerfile' if building the release image DOCKERFILE=Dockerfile diff --git a/Dockerfile b/Dockerfile index a5ef7eff4..7ff6e3639 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG SONARQUBE_VERSION -FROM gradle:7.3.3-jdk11-alpine as builder +FROM gradle:7.3.3-jdk17-alpine as builder COPY . /home/build/project WORKDIR /home/build/project