update sonar to 4.8.0.2856 and use node:16 as base image
This commit is contained in:
parent
3a05c01e6b
commit
32fc79baf3
1 changed files with 4 additions and 4 deletions
|
@ -1,10 +1,10 @@
|
||||||
FROM debian:stretch
|
FROM node:16
|
||||||
|
|
||||||
LABEL maintainer="guillaume@van-hemmen.com"
|
LABEL maintainer="guillaume@van-hemmen.com"
|
||||||
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get -y install wget unzip && \
|
apt-get -y install wget unzip && \
|
||||||
cd /root/ && \
|
cd /root/ && \
|
||||||
wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.7.0.2747-linux.zip && \
|
wget https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-4.8.0.2856-linux.zip && \
|
||||||
unzip sonar-scanner-cli-4.7.0.2747-linux.zip && \
|
unzip sonar-scanner-cli-4.8.0.2856-linux.zip && \
|
||||||
ln -sf /root/sonar-scanner-4.7.0.2747-linux/bin/sonar-scanner /usr/local/bin/sonar-scanner
|
ln -sf /root/sonar-scanner-4.8.0.2856-linux/bin/sonar-scanner /usr/local/bin/sonar-scanner
|
||||||
|
|
Loading…
Reference in a new issue