Skip to content

Instantly share code, notes, and snippets.

@vcsjones
Last active January 27, 2021 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vcsjones/46c2da154506963c93a5f3f0e192f09f to your computer and use it in GitHub Desktop.
Save vcsjones/46c2da154506963c93a5f3f0e192f09f to your computer and use it in GitHub Desktop.
FROM mcr.microsoft.com/dotnet/sdk:5.0
# DISCLAIMER: This is not a recommendation. Use at your own risk.
RUN curl -o /usr/local/share/ca-certificates/verisign.crt -SsL https://crt.sh/?d=1039083 && update-ca-certificates
RUN mkdir /src
WORKDIR /src
RUN dotnet new razor --auth Individual
RUN dotnet build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment