Skip to content

Commit f18b113

Browse files
committed
delete tar.gz
1 parent 22f6881 commit f18b113

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hugegraph-server/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ WORKDIR /pkg
2424
ARG MAVEN_ARGS
2525

2626
RUN mvn package $MAVEN_ARGS -e -B -ntp -DskipTests -Dmaven.javadoc.skip=true && pwd && ls -l
27+
RUN find . -name 'apache-hugegraph-incubating-*.tar.gz' -delete
2728

2829
# 2nd stage: runtime env
2930
# remove zgc, which is only available on ARM-Mac with java > 13
3031
FROM openjdk:11-slim
3132

32-
COPY --from=build /pkg/hugegraph-server/apache-hugegraph-incubating-*/ /hugegraph-server
33+
COPY --from=build /pkg/hugegraph-server/apache-hugegraph-incubating-*/ /hugegraph-server/
3334
LABEL maintainer="HugeGraph Docker Maintainers <dev@hugegraph.apache.org>"
3435

3536
# TODO: use g1gc or zgc as default

0 commit comments

Comments
 (0)