update sonar versions

This commit is contained in:
Dmitry Afanasyev 2023-09-30 02:13:49 +03:00
parent 1706257396
commit 9ffa70fd8b
2 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,4 @@
FROM openjdk:12-jdk-alpine FROM openjdk:19-alpine
# BEGIN alpine-specific # BEGIN alpine-specific
RUN apk add --no-cache curl grep sed unzip bash nano RUN apk add --no-cache curl grep sed unzip bash nano
@ -23,8 +23,7 @@ ENV TZ=Europe/Moscow
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
WORKDIR /usr/src WORKDIR /usr/src
ARG SCANNER_VERSION=5.0.1.3006
ARG SCANNER_VERSION=4.5.0.2216
ENV SCANNER_FILE=sonar-scanner-cli-${SCANNER_VERSION}-linux.zip ENV SCANNER_FILE=sonar-scanner-cli-${SCANNER_VERSION}-linux.zip
ENV SCANNER_EXPANDED_DIR=sonar-scanner-${SCANNER_VERSION}-linux ENV SCANNER_EXPANDED_DIR=sonar-scanner-${SCANNER_VERSION}-linux
RUN curl --insecure -o ${SCANNER_FILE} \ RUN curl --insecure -o ${SCANNER_FILE} \

View File

@ -11,7 +11,7 @@ networks:
services: services:
sonarqube: sonarqube:
image: sonarqube:9.7.1-community image: sonarqube:9.9.2-community
container_name: sonarqube container_name: sonarqube
hostname: sonarqube hostname: sonarqube
ports: ports:
@ -28,7 +28,7 @@ services:
- sonarnet - sonarnet
sonar_db: sonar_db:
image: postgres:14.6 image: postgres:16.0
container_name: sonar_db container_name: sonar_db
hostname: db hostname: db
environment: environment: