File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 7171 push : true
7272 tags : ghcr.io/apache/datafusion-comet:spark-3.4-scala-2.12-${{ env.COMET_VERSION }}
7373 file : kube/Dockerfile
74- build-args : " --progress=plain"
7574 no-cache : true
Original file line number Diff line number Diff line change @@ -55,6 +55,13 @@ COPY .scalafix.conf /comet/.scalafix.conf
5555COPY Makefile /comet/Makefile
5656COPY pom.xml /comet/pom.xml
5757
58+ RUN mkdir -p /root/.m2 && \
59+ echo '<settings><mirrors><mirror><id>central</id><mirrorOf>central</mirrorOf><url>https://repo1.maven.org/maven2</url></mirror></mirrors></settings>' > /root/.m2/settings.xml
60+
61+ RUN /comet/mvnw -B dependency:resolve dependency:resolve-plugins
62+
63+ RUN /comet/mvnw -B package
64+
5865# Pick the JDK instead of JRE to compile Comet
5966RUN cd /comet \
6067 && JAVA_HOME=$(readlink -f $(which javac) | sed "s/\/ bin\/ javac//" ) make release-nogit PROFILES="-Pspark-$SPARK_VERSION -Pscala-$SCALA_VERSION"
You can’t perform that action at this time.
0 commit comments