Skip to content

Commit 6ca10c6

Browse files
committed
Move build dir to ENV variable
1 parent 6d40b48 commit 6ca10c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
.PHONY: all build run
44

55
DOCKER_CMD ?= docker
6+
IPMITOOL_BUILD_DIR ?= $(PWD)/build
67

78
all: build
89

@@ -15,5 +16,5 @@ run:
1516
-it \
1617
--rm \
1718
-e GIT_CHECKOUT=true \
18-
-v $(PWD)/build:/build \
19+
-v $(IPMITOOL_BUILD_DIR):/build \
1920
ipmitool:latest /bin/bash build-ipmitool.sh

0 commit comments

Comments
 (0)