Skip to content
This repository was archived by the owner on Mar 21, 2025. It is now read-only.

Commit f3c74ca

Browse files
committed
wip local sonar latest LTS 9 version
1 parent ecf8e75 commit f3c74ca

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

build/package/Dockerfile.sonar

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
44
USER root
55
WORKDIR /usr/src/app
66

7-
ENV SONAR_SCANNER_VERSION=4.6.2.2472 \
8-
CNES_REPORT_VERSION=4.0.0
7+
ENV SONAR_SCANNER_VERSION=4.8.0.2856 \
8+
CNES_REPORT_VERSION=4.2.0
99

1010
# Build Go binary.
1111
COPY go.mod .

scripts/run-sonarqube.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if [ "$(uname -m)" = "arm64" ]; then
3838
rm -rf docker-sonarqube || true
3939
git clone https://github.com/SonarSource/docker-sonarqube
4040
cd docker-sonarqube
41-
git checkout refs/tags/9.7.0 # Last available Git tag
41+
git checkout refs/tags/9.9.1 # Last available Git tag
4242
cd 9/community
4343
docker build -t sonarqube-arm:${SONAR_IMAGE_TAG} .
4444
cd "${SCRIPT_DIR}"/sonarqube

scripts/sonarqube/Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
ARG from=""
22
FROM $from
33

4+
USER root
5+
ENV SQ_CONF_DIR="/opt/sonarqube/conf"
6+
RUN chmod -R ugo+wrX "${SQ_CONF_DIR}"
7+
8+
USER sonarqube
49
RUN echo "sonar.forceAuthentication=true" >> conf/sonar.properties
510

611
# Uncomment the following line to see debug output, e.g. in case SonarQube is

0 commit comments

Comments
 (0)