win-build/rust.Dockerfile

12 lines
274 B
Docker

# escape=`
FROM win_build
ADD https://win.rustup.rs C:\docker\rustup-init.exe
RUN C:\docker\rustup-init.exe --quiet -y
RUN setx path "%path%;C:\Users\ContainerAdministrator\.cargo\bin"
RUN C:\msvc\VC\Auxiliary\Build\vcvarsall.bat x64
VOLUME C:\source\
WORKDIR C:\source\