2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 19:31:35 +00:00

Mount host's .cargo dir for access to package cache

This commit is contained in:
asonix 2021-01-08 18:47:15 -06:00
parent 6e9c7e3dbe
commit c3e24c6ff3

View file

@ -17,6 +17,7 @@ services:
volumes: volumes:
- ../../data:/mnt - ../../data:/mnt
- ../../:/opt/build/repo - ../../:/opt/build/repo
- ~/.cargo:/opt/build/.cargo
pictrs-arm64v8: pictrs-arm64v8:
build: build:
@ -34,6 +35,7 @@ services:
volumes: volumes:
- ../../data:/mnt - ../../data:/mnt
- ../../:/opt/build/repo - ../../:/opt/build/repo
- ~/.cargo:/opt/build/.cargo
pictrs-arm32v7: pictrs-arm32v7:
build: build:
@ -51,3 +53,4 @@ services:
volumes: volumes:
- ../../data:/mnt - ../../data:/mnt
- ../../:/opt/build/repo - ../../:/opt/build/repo
- ~/.cargo:/opt/build/.cargo