This is an automated email from the ASF dual-hosted git repository.

ifesdjeen pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-harry.git

commit b566e8fb8aaff5a1420f55dd44ac366b4465ace7
Author: Amos Kong <[email protected]>
AuthorDate: Tue Jan 19 22:03:46 2021 +0800

    Makefile: support to build without creating docker image
    
    When external cluster is used, docker isn't needed.
    
    Signed-off-by: Amos Kong <[email protected]>
---
 Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index c1e99dd..86d4b28 100644
--- a/Makefile
+++ b/Makefile
@@ -16,9 +16,12 @@
 
 DOCKER_REPO   = org.apache.cassandra/harry/harry-runner
 
-img:
+mvn:
        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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to