Update Dockerfile

This commit is contained in:
Guillaume "B.B." Van Hemmen 2023-11-04 18:28:39 +01:00
parent af3589a64e
commit 82884bd2d6

View file

@ -1,10 +1,10 @@
FROM node:16
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-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
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 && \
ln -sf /root/sonar-scanner-4.8.1.3023-linux/bin/sonar-scanner /usr/local/bin/sonar-scanner