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