From cef74665bcd7e6799b403e836962883273cb4af9 Mon Sep 17 00:00:00 2001 From: JoYo <> Date: Wed, 24 Feb 2021 14:24:16 -0500 Subject: [PATCH] explicitly added VsDevShell to rust build --- rust.Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/rust.Dockerfile b/rust.Dockerfile index 0882b3c..e815072 100644 --- a/rust.Dockerfile +++ b/rust.Dockerfile @@ -8,3 +8,4 @@ RUN setx path "%path%;%USERPROFILE%\.cargo\bin" VOLUME C:\source\ WORKDIR C:\source\ +ENTRYPOINT ["powershell", "-NoExit", "-Command", "Import-Module C:\\msvc\\Common7\\Tools\\Microsoft.VisualStudio.DevShell.dll;", "Enter-VsDevShell -VsInstallPath C:\\msvc\\ -DevCmdArguments -arch=amd64;"]