added rust layer
parent
d0209fa181
commit
c5e2802ce9
|
@ -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/
|
||||||
|
|
|
@ -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\
|
Loading…
Reference in New Issue