Skip to content

Commit

Permalink
add maven args for stage or other args (apache#2386)
Browse files Browse the repository at this point in the history
  • Loading branch information
aroundabout authored and VGalaxies committed Jan 12, 2024
1 parent 8c192d8 commit 6074acf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hugegraph-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6074acf

Please sign in to comment.