added rust layer

master
JoYo 2021-02-18 17:06:51 -05:00
parent d0209fa181
commit c5e2802ce9
2 changed files with 18 additions and 0 deletions

View File

@ -15,3 +15,11 @@ services:
dockerfile: winxp.Dockerfile dockerfile: winxp.Dockerfile
volumes: volumes:
- .:C:/source/ - .:C:/source/
rust_build:
image: rust_build
build:
context: .
dockerfile: rust.Dockerfile
volumes:
- .:C:/source/

10
rust.Dockerfile Normal file
View File

@ -0,0 +1,10 @@
# 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"
VOLUME C:\source\
WORKDIR C:\source\