Visual Studio Build Tools Container
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
462 B

# escape=`
FROM win_build
ADD C:\docker\rustup-init.exe
RUN C:\docker\rustup-init.exe --quiet -y
RUN setx path "%path%;%USERPROFILE%\.cargo\bin"
RUN rustup update
RUN rustup component add clippy
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;"]