Commit 23876568 authored by Roger Feese's avatar Roger Feese
Browse files

Add JRE needed by sonarqube post-scan for sending results to server.

parent c08d245f
......@@ -8,13 +8,15 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.description="Docker image to build .NET core 3.1 applications" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vendor="University of Nebraska - Lincoln" \
org.label-schema.version="0.1.0" \
org.label-schema.version="0.1.1" \
org.label-schema.schema-version="1.0" \
maintainer="Roger Feese <rfeese@nebraska.edu>"
# Make sure that tools we need are installed
# JRE for sonarqube scanner post-scan
RUN apt-get update && apt-get install -y \
git \
openjdk-11-jre \
&& rm -rf /var/lib/apt/lists/*
# sonarscanner (https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/)
......
......@@ -8,13 +8,15 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.description="Docker image to build .NET core 5.0 applications" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vendor="University of Nebraska - Lincoln" \
org.label-schema.version="0.1.0" \
org.label-schema.version="0.1.1" \
org.label-schema.schema-version="1.0" \
maintainer="Roger Feese <rfeese@nebraska.edu>"
# Make sure that tools we need are installed
# JRE for sonarqube scanner post-scan
RUN apt-get update && apt-get install -y \
git \
openjdk-11-jre \
&& rm -rf /var/lib/apt/lists/*
# sonarscanner (https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment