dockerfile: mount wasm build dir
This commit is contained in:
7
Makefile
7
Makefile
@ -3,10 +3,11 @@ docker:
|
|||||||
docker build -t fail-generic-tracing -f fail-generic-tracing.dockerfile .
|
docker build -t fail-generic-tracing -f fail-generic-tracing.dockerfile .
|
||||||
docker build -t fail-demo -f fail-demo.dockerfile . --build-arg CACHE_DATE="$(shell date)"
|
docker build -t fail-demo -f fail-demo.dockerfile . --build-arg CACHE_DATE="$(shell date)"
|
||||||
|
|
||||||
run: .compose ssh
|
run:
|
||||||
|
|
||||||
.compose:
|
|
||||||
docker compose up -d --force-recreate --renew-anon-volumes -y
|
docker compose up -d --force-recreate --renew-anon-volumes -y
|
||||||
|
|
||||||
|
stop:
|
||||||
|
docker compose down
|
||||||
|
|
||||||
ssh:
|
ssh:
|
||||||
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 5022 fail@127.0.0.1
|
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -p 5022 fail@127.0.0.1
|
||||||
|
|||||||
@ -20,6 +20,8 @@ services:
|
|||||||
- "5022:22" # SSH
|
- "5022:22" # SSH
|
||||||
networks:
|
networks:
|
||||||
- fail-network
|
- fail-network
|
||||||
|
volumes:
|
||||||
|
- "../3 Wasm/examples/build-bochs:/home/fail/fail-wasm/examples/build-bochs"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
fail-network:
|
fail-network:
|
||||||
|
|||||||
Reference in New Issue
Block a user