rmetzger opened a new pull request #14959:
URL: https://github.com/apache/flink/pull/14959
This updates the base docker image to use a modified maven version with a
fixed http wagon version.
Diff on the Dockerfile:
```diff
diff --git a/Dockerfile b/Dockerfile
index dc8f1b5..68d080d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -37,6 +37,17 @@ RUN mkdir -p /usr/share/maven /usr/share/maven/ref \
&& rm -f /tmp/apache-maven.tar.gz \
&& ln -s /usr/share/maven/bin/mvn /usr/bin/mvn
+# put custom http-wagon. More details:
https://issues.apache.org/jira/browse/FLINK-16947?focusedCommentId=17285028&page
+RUN cd /usr/share/maven/lib/ \
+ && rm wagon-http-*-shaded.jar \
+ && curl -O
https://jitpack.io/com/github/lhotari/maven-wagon/wagon-http/5ff79d284/wagon-http-5ff79d284-shaded.jar
+
+# add commons logging (needed for custom wagon)
+RUN cd /tmp \
+ && wget
https://mirror.synyx.de/apache//commons/logging/binaries/commons-logging-1.2-bin.zip
\
+ && unzip commons-logging-1.2-bin.zip \
+ && cp commons-logging-1.2/commons-logging-1.2.jar /usr/share/maven/lib/
+
ENV MAVEN_HOME /usr/share/maven
```
This has been committed in
https://github.com/rmetzger/flink-ci/commit/98ad098128398c6b0621a7b17bea05fc0fbf1c07
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]