From da0c61dd924502312262a095602faf46db84ac6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= Date: Mon, 8 Jan 2024 22:40:36 +0100 Subject: [PATCH] "make shell" --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c3e0c78..209d2e8 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ examples_flags = -v "$(shell pwd)/examples:/data" -u "$(shell id -u):$(shell id .PHONY: default default: - $(info use other targets: image build watch clean) + $(info use other targets: image build watch shell clean) .PHONY: image image: @@ -19,6 +19,10 @@ build: image watch: image $(docker_run) $(examples_flags) $(image_tag) +.PHONY: shell +shell: image + $(docker_run) $(examples_flags) --entrypoint ash $(image_tag) + .PHONY: clean clean: git clean -xdf ./examples \ No newline at end of file