Commit efac40b 1 parent d95deed commit efac40b Copy full SHA for efac40b
File tree 3 files changed +20
-3
lines changed
3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 16
16
#
17
17
18
18
# Dockerfile for HugeGraph PD
19
- # 1st stage: build source code (refer to hugegraph-server/Dockerfile)
19
+ # 1st stage: build source code
20
+ FROM maven:3.9.0-eclipse-temurin-11 AS build
21
+
22
+ COPY . /pkg
23
+ WORKDIR /pkg
24
+ ARG MAVEN_ARGS
25
+
26
+ RUN mvn package $MAVEN_ARGS -e -B -ntp -DskipTests -Dmaven.javadoc.skip=true && pwd && ls -l
27
+ RUN rm ./hugegraph-server/*.tar.gz && rm ./hugegraph-pd/dist/*.tar.gz && rm ./hugegraph-store/dist/*.tar.gz
20
28
21
29
# 2nd stage: runtime env
22
30
# Note: ZGC (The Z Garbage Collector) is only supported on ARM-Mac with java > 13
Original file line number Diff line number Diff line change @@ -23,7 +23,8 @@ COPY . /pkg
23
23
WORKDIR /pkg
24
24
ARG MAVEN_ARGS
25
25
26
- RUN mvn package $MAVEN_ARGS -e -B -ntp -DskipTests -Dmaven.javadoc.skip=true && pwd && ls -l && rm ./hugegraph-server/*.tar.gz
26
+ RUN mvn package $MAVEN_ARGS -e -B -ntp -DskipTests -Dmaven.javadoc.skip=true && pwd && ls -l
27
+ RUN rm ./hugegraph-server/*.tar.gz && rm ./hugegraph-pd/dist/*.tar.gz && rm ./hugegraph-store/dist/*.tar.gz
27
28
28
29
# 2nd stage: runtime env
29
30
# Note: ZGC (The Z Garbage Collector) is only supported on ARM-Mac with java > 13
Original file line number Diff line number Diff line change 16
16
#
17
17
18
18
# Dockerfile for HugeGraph Store
19
- # 1st stage: build source code (refer to hugegraph-server/Dockerfile)
19
+ # 1st stage: build source code
20
+ FROM maven:3.9.0-eclipse-temurin-11 AS build
21
+
22
+ COPY . /pkg
23
+ WORKDIR /pkg
24
+ ARG MAVEN_ARGS
25
+
26
+ RUN mvn package $MAVEN_ARGS -e -B -ntp -DskipTests -Dmaven.javadoc.skip=true && pwd && ls -l
27
+ RUN rm ./hugegraph-server/*.tar.gz && rm ./hugegraph-pd/dist/*.tar.gz && rm ./hugegraph-store/dist/*.tar.gz
20
28
21
29
# 2nd stage: runtime env
22
30
# Note: ZGC (The Z Garbage Collector) is only supported on ARM-Mac with java > 13
You can’t perform that action at this time.
0 commit comments