Public Repository

Last pushed: 6 months ago
Short Description
Short description is empty for this repo.
Full Description

based on java:8-jre-alpine
with sonar-scanner 3.0.3.778 on board

FROM openjdk:8-jre-alpine
WORKDIR /opt
ADD https://sonarsource.bintray.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-3.0.3.778-linux.zip /opt/sonar-scanner-cli-3.0.3.778-linux.zip
RUN ["unzip", "sonar-scanner-cli-3.0.3.778-linux.zip"]
RUN ["rm", "-f", "sonar-scanner-cli-3.0.3.778-linux.zip"]
RUN ["mv", "sonar-scanner-3.0.3.778-linux", "sonar-scanner"]
RUN sed -i 's/use_embedded_jre=true/use_embedded_jre=false/g' /opt/sonar-scanner/bin/sonar-scanner
WORKDIR /opt/code
VOLUME ["/opt/code"]
ENV PATH $PATH:/opt/sonar-scanner/bin
ENTRYPOINT ["sonar-scanner"]
CMD ["--help"]
Docker Pull Command
Owner
mikulicheugene