commit
0ee3003f17
@ -0,0 +1,14 @@
|
||||
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
|
Loading…
Reference in new issue