Skip to content
Snippets Groups Projects
Commit 03709335 authored by Roger Feese's avatar Roger Feese
Browse files

Update apt commands per Docker recommendations...

parent 3c04eee0
No related branches found
No related tags found
2 merge requests!58Add dotnet-build-server,!56Add dotnet build server
......@@ -13,8 +13,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
maintainer="Roger Feese <rfeese@nebraska.edu>"
# Make sure that tools we need are installed
RUN apt-get update \
&& apt-get install git
RUN apt-get update && apt-get install -y \
git \
&& rm -rf /var/lib/apt/lists/*
# sonarscanner (https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/)
RUN dotnet tool install --global dotnet-sonarscanner
......
......@@ -13,8 +13,9 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
maintainer="Roger Feese <rfeese@nebraska.edu>"
# Make sure that tools we need are installed
RUN apt-get update \
&& apt-get install git
RUN apt-get update && apt-get install -y \
git \
&& rm -rf /var/lib/apt/lists/*
# sonarscanner (https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/)
RUN dotnet tool install --global dotnet-sonarscanner
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment