Browse Source

added rust layer

master
JoYo 4 months ago
parent
commit
c5e2802ce9
  1. 8
      docker-compose.yaml
  2. 10
      rust.Dockerfile

8
docker-compose.yaml

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

10
rust.Dockerfile

@ -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…
Cancel
Save