Skip to content
Browse files
Makefile: support to build without creating docker image
When external cluster is used, docker isn't needed.

Signed-off-by: Amos Kong <>
  • Loading branch information
amoskong authored and ifesdjeen committed Nov 15, 2021
1 parent f6b4df6 commit b566e8fb8aaff5a1420f55dd44ac366b4465ace7
Showing 1 changed file with 5 additions and 2 deletions.
@@ -16,9 +16,12 @@

DOCKER_REPO = org.apache.cassandra/harry/harry-runner

rm -fr shared/*
mvn clean && mvn package -DskipTests && docker build -t ${DOCKER_REPO}:latest-local ./ -f docker/Dockerfile.local
mvn clean && mvn package -DskipTests

img: mvn
docker build -t ${DOCKER_REPO}:latest-local ./ -f docker/Dockerfile.local

run: img
docker run -v `pwd`/shared:/shared -it ${DOCKER_REPO}:latest-local

0 comments on commit b566e8f

Please sign in to comment.