Skip to content

Commit 041daa3

Browse files
committed
makefile: fixed build failure with docker
Docker build require explicit directory path. Add "." (current working directory) to build command. Signed-off-by: Shachar Sharon <[email protected]>
1 parent 4c0fc69 commit 041daa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ image-build: Dockerfile
9494
--build-arg=GIT_VERSION="$(GIT_VERSION)" \
9595
--build-arg=COMMIT_ID="$(COMMIT_ID)" \
9696
--build-arg=ARCH="$(GOARCH)" \
97-
$(CONTAINER_BUILD_OPTS) -f $< -t $(IMG)
97+
$(CONTAINER_BUILD_OPTS) -f $< -t $(IMG) .
9898

9999
# Push the container image
100100
.PHONY: image-push

0 commit comments

Comments
 (0)