sonar-scanner/Dockerfile

12 lines
455 B
Text
Raw Permalink Normal View History

2023-11-04 18:28:39 +01:00
FROM node:18
2019-03-16 21:09:37 +01:00
LABEL maintainer="guillaume@van-hemmen.com"
RUN apt-get update && \
apt-get -y install wget unzip && \
cd /root/ && \
2023-11-04 19:25:45 +01:00
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