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

ming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git


The following commit(s) were added to refs/heads/master by this push:
     new 2c6fcdc71 add maven args for stage or other args (#2386)
2c6fcdc71 is described below

commit 2c6fcdc719a0afa7e2d1eaddb0c063d152445a8f
Author: Dandelion <[email protected]>
AuthorDate: Wed Dec 13 16:00:50 2023 +0800

    add maven args for stage or other args (#2386)
---
 hugegraph-server/Dockerfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/hugegraph-server/Dockerfile b/hugegraph-server/Dockerfile
index a28e63ea1..47dc411c6 100644
--- a/hugegraph-server/Dockerfile
+++ b/hugegraph-server/Dockerfile
@@ -21,7 +21,9 @@ FROM maven:3.9.0-eclipse-temurin-11 AS build
 
 COPY . /pkg
 WORKDIR /pkg
-RUN mvn package -e -B -ntp -DskipTests -Dmaven.javadoc.skip=true && pwd && ls 
-l
+ARG MAVEN_ARGS
+
+RUN mvn package $MAVEN_ARGS -e -B -ntp -DskipTests -Dmaven.javadoc.skip=true 
&& pwd && ls -l
 
 # 2nd stage: runtime env
 FROM openjdk:11-slim

Reply via email to