Skip to content

Commit

Permalink
Use dotnet sdk docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
jcwillox authored Mar 17, 2021
1 parent 4b0fb72 commit c8a6d17
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
FROM microsoft/powershell
FROM mcr.microsoft.com/dotnet/sdk:5.0-alpine3.13

ADD ["entrypoint.ps1", "/data/"]

RUN chmod +x /data/entrypoint.ps1 \
&& apt-get update \
&& apt-get install apt-transport-https wget --yes \
&& wget https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb \
&& dpkg -i packages-microsoft-prod.deb \
&& apt-get update \
&& apt-get install --yes dotnet-sdk-3.1

RUN chmod +x /data/entrypoint.ps1

ENTRYPOINT ["/data/entrypoint.ps1"]

0 comments on commit c8a6d17

Please sign in to comment.