You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
608 B

FROM python:3.12-slim
RUN pip install nose coverage parameterized
RUN apt -y update \
&& apt -y install unzip wget \
&& rm -rf /var/lib/{apt,dpkg,cache,log}
RUN mkdir -p /downloads/sonarqube \
&& cd /downloads/sonarqube \
&& wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.8.1.3023-linux.zip \
&& unzip sonar-scanner-cli-4.8.1.3023-linux.zip \
&& mv sonar-scanner-4.8.1.3023-linux /opt/sonar-scanner
RUN echo "sonar.host.url=https://codefirst.iut.uca.fr/sonar/\nsonar.sourceEncoding=UTF-8" > /opt/sonar-scanner/conf/sonar-scanner.properties