From a8f18c540879a681ea56e8cdc88419c09fc6e68a Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 11 Dec 2024 09:24:45 +0800 Subject: Fix "make docker" by providing the required build context --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c656b8b..4e879c0 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ DOCKER_CHOWN:= chown -R $(shell id -u):$(shell id -g) . # build the resume within an docker container docker: $(DOCKER_CLI) image inspect -f 'ok' $(DOCKER_IMAGE) 2>/dev/null || \ - $(DOCKER_CLI) build --tag $(DOCKER_IMAGE) -f Dockerfile + $(DOCKER_CLI) build --tag $(DOCKER_IMAGE) -f Dockerfile . $(DOCKER_CLI) run --rm --volume $(PWD):/build $(DOCKER_IMAGE) \ sh -c "cd /build && make clean && make && $(DOCKER_CHOWN)" -- cgit v1.2.2