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

Initial Dockerfile.

parent d9493a1a
FROM mcr.microsoft.com/dotnet/sdk:3.1-buster
ARG BUILD_DATE
ARG VCS_REF
ARG VERSION
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="dotnet SDK" \
org.label-schema.description="Docker image to build .NET core 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.schema-version="1.0" \
maintainer="Roger Feese <rfeese@nebraska.edu>"
# Make sure that tools we need are installed
RUN apt-get update \
&& apt-get install git
# sonarscanner (https://docs.sonarqube.org/latest/analysis/scan/sonarscanner-for-msbuild/)
RUN dotnet tool install --global dotnet-sonarscanner
RUN echo 'export PATH="$PATH:/root/.dotnet/tools"' >> ~/.bash_profile
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