diff --git a/README.md b/README.md index 4a51aa3d..2f59e6cc 100644 --- a/README.md +++ b/README.md @@ -75,8 +75,8 @@ Follow the steps above to setup the Docker image. Then, run the development image. ```bash -docker compose -f docker-compose.devel.yaml build -docker compose -f docker-compose.devel.yaml run --rm arbitration_graphs_devel +docker compose build +docker compose run --rm arbitration_graphs_devel ``` This mounts the source into the container's `/home/blinky/arbitration_graphs` folder. diff --git a/docker-compose.devel.yaml b/docker-compose.devel.yaml deleted file mode 100644 index a7200ba9..00000000 --- a/docker-compose.devel.yaml +++ /dev/null @@ -1,8 +0,0 @@ -services: - arbitration_graphs_devel: - extends: - file: docker-compose.yaml - service: arbitration_graphs - image: arbitration_graphs_devel - volumes: - - .:/home/blinky/arbitration_graphs \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index 7df020f1..32e507e7 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -3,3 +3,9 @@ services: image: ghcr.io/kit-mrt/arbitration_graphs:$VERSION build: . env_file: .env + arbitration_graphs_devel: + extends: + service: arbitration_graphs + image: arbitration_graphs_devel + volumes: + - .:/home/blinky/arbitration_graphs