Create Dockerfile

This commit is contained in:
Guillaume "B.B." Van Hemmen 2019-03-16 21:09:37 +01:00 committed by GitHub
commit cdeaedd7c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

10
Dockerfile Normal file
View file

@ -0,0 +1,10 @@
FROM debian:stretch
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-3.3.0.1492-linux.zip && \
unzip sonar-scanner-cli-3.3.0.1492-linux.zip && \
ln -sf /root/sonar-scanner-3.3.0.1492-linux/bin/sonar-scanner /usr/local/bin/sonar-scanner