File tree Expand file tree Collapse file tree 4 files changed +12
-21
lines changed Expand file tree Collapse file tree 4 files changed +12
-21
lines changed Original file line number Diff line number Diff line change 1- MAVEN_BUILDER_VERSION = 3-openjdk-11 -slim
2- SONARQUBE_VERSION = 10.5.1 -community
1+ MAVEN_BUILDER_VERSION = 3-openjdk-17 -slim
2+ SONARQUBE_VERSION = 10.6.0 -community
33POSTGRES_VERSION = 12
44DOCKER_BUILDKIT = 1
55COMPOSE_DOCKER_CLI_BUILD = 1
Original file line number Diff line number Diff line change @@ -13,23 +13,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313
1414### Deleted
1515
16- ## [ 1.7.0] - 2024-07-13
17-
18- ### Added
19-
20- - Add ** toolbox.sh** utility script for SonarQube development environment installation
21- - Add ** utils.sh** Add utils.sh script to launch toolbox commands
22- - Addition of the pytest framework for unit testing bash scripts
23- -
24-
25- ### Changed
26-
27- - Update of the "Getting Started" section in the README file
28-
29- ### Deleted
30-
31- - Removal of utility scripts already present in the toolbox.sh script
32-
3316## [ 1.6.1] - 2024-05-15
3417
3518### Changed
Original file line number Diff line number Diff line change @@ -14,3 +14,4 @@ RUN ${ECOCODE_SRC_PATH}/toolbox.sh build
1414
1515FROM sonarqube:${SONARQUBE_VERSION}
1616COPY --from=builder ${ECOCODE_SRC_PATH}/target/ecocode-*.jar ${SONARQUBE_PLUGINS_PATH}
17+ USER sonarqube
Original file line number Diff line number Diff line change @@ -10,11 +10,12 @@ services:
1010 - SONARQUBE_VERSION=${SONARQUBE_VERSION}
1111 container_name : sonar_ecocode_java
1212 ports :
13- - " 9000 :9000"
13+ - " :9000"
1414 networks :
1515 - sonarnet
1616 depends_on :
17- - db
17+ db :
18+ condition : service_healthy
1819 environment :
1920 SONAR_JDBC_USERNAME : sonar
2021 SONAR_JDBC_PASSWORD : sonar
@@ -37,6 +38,12 @@ services:
3738 POSTGRES_PASSWORD : sonar
3839 POSTGRES_DB : sonarqube
3940 PGDATA : pg_data:/var/lib/postgresql/data/pgdata
41+ healthcheck :
42+ test : [ "CMD-SHELL", "pg_isready -U sonar -d sonarqube" ]
43+ interval : 5s
44+ timeout : 5s
45+ retries : 5
46+
4047
4148networks :
4249 sonarnet :
You can’t perform that action at this time.
0 commit comments