Skip to content

Commit

Permalink
fix(docker): Fix docker makefile variable
Browse files Browse the repository at this point in the history
Fix an issue where commands such as `make -C ci/docker format` do not
execute, by setting a consistent capitalization for ROOT_DIR variable in
the docker Makefile.

Signed-off-by: David Cerdeira <[email protected]>
  • Loading branch information
DavidMCerdeira committed Oct 18, 2024
1 parent e596c06 commit e751ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ifeq ($(DOCKER_PULL),y)
docker_pull_option:=--pull=always
endif
docker_run_cmd:=$(DOCKER) run $(docker_pull_option) --rm -it -u bao -v \
$(root_dir):$(root_dir) -w $(root_dir) $(docker_image)
$(ROOT_DIR):$(ROOT_DIR) -w $(ROOT_DIR) $(docker_image)

override MAKEFLAGS:=$(addprefix -,$(MAKEFLAGS)) --no-print-directory

Expand Down

0 comments on commit e751ca4

Please sign in to comment.