sonar-scanner/Dockerfile

10 lines
407 B
Docker

FROM node:16
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-4.8.0.2856-linux.zip && \
unzip sonar-scanner-cli-4.8.0.2856-linux.zip && \
ln -sf /root/sonar-scanner-4.8.0.2856-linux/bin/sonar-scanner /usr/local/bin/sonar-scanner