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

Update apt commands per Docker recommendations...

Update apt commands per Docker recommendations https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#run
parent 3c04eee0
......@@ -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
......
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