Skip to content

Commit 5814af8

Browse files
committed
update WF
1 parent a134715 commit 5814af8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/docker-publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,4 @@ jobs:
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

kube/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ COPY .scalafix.conf /comet/.scalafix.conf
5555
COPY Makefile /comet/Makefile
5656
COPY 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
5966
RUN cd /comet \
6067
&& JAVA_HOME=$(readlink -f $(which javac) | sed "s/\/bin\/javac//") make release-nogit PROFILES="-Pspark-$SPARK_VERSION -Pscala-$SCALA_VERSION"

0 commit comments

Comments
 (0)