2018-08-28 16:39:09 +00:00
|
|
|
FROM openjdk:8-jre-alpine
|
2019-02-12 09:54:27 +00:00
|
|
|
RUN apk add --no-cache --update nodejs
|
2018-08-28 16:39:09 +00:00
|
|
|
COPY drone-sonar /bin/
|
2019-02-12 09:54:27 +00:00
|
|
|
COPY lib/sonar-scanner-cli-3.3.0.1492.zip /bin
|
2018-08-28 16:39:09 +00:00
|
|
|
|
|
|
|
WORKDIR /bin
|
2019-02-12 09:54:27 +00:00
|
|
|
RUN unzip sonar-scanner-cli-3.3.0.1492.zip \
|
|
|
|
&& mv sonar-scanner-3.3.0.1492 sonar-scanner \
|
|
|
|
&& rm -rf sonar-scanner-cli-3.3.0.1492.zip
|
2018-08-28 16:39:09 +00:00
|
|
|
|
2019-02-12 09:54:27 +00:00
|
|
|
ENV PATH $PATH:/bin/sonar-scanner/bin
|
2018-08-28 16:39:09 +00:00
|
|
|
|
|
|
|
ENTRYPOINT /bin/drone-sonar
|