Depend on build when using the docker images.

This commit is contained in:
Tom Alexander
2023-08-27 17:51:57 -04:00
parent c17de8ef5e
commit 75dfc7f812
3 changed files with 6 additions and 6 deletions

View File

@@ -28,9 +28,9 @@ endif
# NOTE: This target will write to folders underneath the git-root
.PHONY: run
run:
run: build
docker run --rm --init -v "$$(readlink -f ../../):/source" --workdir=/source $(IMAGE_NAME)
.PHONY: shell
shell:
shell: build
docker run --rm -i -t --entrypoint /bin/sh -v "$$(readlink -f ../../):/source" --workdir=/source $(IMAGE_NAME)