diff options
author | Aaron LI <aly@aaronly.me> | 2024-12-11 09:24:45 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2024-12-11 09:24:45 +0800 |
commit | a8f18c540879a681ea56e8cdc88419c09fc6e68a (patch) | |
tree | 911a112bbed63ee8ddd636152307520aa980938b /Makefile | |
parent | a456ac676edaf3077c65e34f10af95da19937c64 (diff) | |
download | resume-a8f18c540879a681ea56e8cdc88419c09fc6e68a.tar.bz2 |
Fix "make docker" by providing the required build context
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)" |