Skip to content
This repository was archived by the owner on May 31, 2019. It is now read-only.

add Windows Dockerfile #141

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions 1.0.0-rc1-update1-coreclr/Dockerfile.windows
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM windowsservercore

ENV DNX_VERSION 1.0.0-rc1-update1
ENV DNVM_BRANCH "dev"
ENV DNVM_DOWNLOAD_URL "https://raw.githubusercontent.com/aspnet/Home/$DNVM_BRANCH/dnvm.ps1"

RUN @powershell -NoProfile \
-Command \
$ErrorActionPreference = 'Stop'; \
(New-Object System.Net.WebClient).DownloadFile('%DNVM_DOWNLOAD_URL%', 'dnvm.ps1') ; \
.\dnvm.ps1 install %DNX_VERSION% -global -persistent -alias default -r coreclr ; \
Remove-Item dnvm.ps1