sonar-scanner/Dockerfile
Guillaume "B.B." Van Hemmen 626d91d9c0
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
#0000 - dump installed version at the end of the pipe
2023-11-04 20:17:38 +01:00

11 lines
455 B
Docker

FROM node:18
LABEL maintainer="guillaume@van-hemmen.com"
RUN apt-get update && \
apt-get -y install wget unzip && \
cd /root/ && \
wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-5.0.1.3006-linux.zip && \
unzip sonar-scanner-cli-5.0.1.3006-linux.zip && \
ln -sf /root/sonar-scanner-5.0.1.3006-linux/bin/sonar-scanner /usr/local/bin/sonar-scanner && \
/usr/local/bin/sonar-scanner --version