2021-02-18 22:06:51 +00:00
|
|
|
# escape=`
|
2023-03-27 16:11:53 +00:00
|
|
|
FROM win_build:ltsc2022
|
2021-02-18 22:06:51 +00:00
|
|
|
|
|
|
|
ADD https://win.rustup.rs C:\docker\rustup-init.exe
|
|
|
|
|
|
|
|
RUN C:\docker\rustup-init.exe --quiet -y
|
2021-02-19 20:50:01 +00:00
|
|
|
RUN setx path "%path%;%USERPROFILE%\.cargo\bin"
|
2021-02-24 19:41:50 +00:00
|
|
|
RUN rustup update
|
|
|
|
RUN rustup component add clippy
|
2021-02-18 22:06:51 +00:00
|
|
|
|
|
|
|
VOLUME C:\source\
|
|
|
|
WORKDIR C:\source\
|
2021-02-24 19:24:16 +00:00
|
|
|
ENTRYPOINT ["powershell", "-NoExit", "-Command", "Import-Module C:\\msvc\\Common7\\Tools\\Microsoft.VisualStudio.DevShell.dll;", "Enter-VsDevShell -VsInstallPath C:\\msvc\\ -DevCmdArguments -arch=amd64;"]
|