File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 5252 with :
5353 java-version : ' 17'
5454 distribution : ' temurin'
55+ cache : ' maven'
5556 - name : Extract Comet version
5657 id : extract_version
5758 run : |
Original file line number Diff line number Diff line change @@ -55,6 +55,9 @@ 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+
5861# Pick the JDK instead of JRE to compile Comet
5962RUN cd /comet \
6063 && 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