I tried running the instructions in the README in /docker but ran into several issues.
First, the download link for lucene changed: https://www.apache.org/dist/lucene/pylucene/pylucene-7.7.1-src.tar.gz should be https://downloads.apache.org/lucene/pylucene/pylucene-7.7.1-src.tar.gz.
After changing this I am able to get a bit further in the docker-compose up command but run into an issue related to ivy and ant.
/usr/src/pylucene/lucene-java-7.7.1/lucene/common-build.xml:449: /root/.ant/lib does not exist.
Total time: 0 seconds
Buildfile: /usr/src/pylucene/lucene-java-7.7.1/lucene/build.xml
-ivy-bootstrap1:
[mkdir] Created dir: /root/.ant/lib
[echo] installing ivy 2.4.0 to /root/.ant/lib
[get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.4.0/ivy-2.4.0.jar
[get] To: /root/.ant/lib/ivy-2.4.0.jar
[get] Error opening connection java.io.IOException: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.4.0/ivy-2.4.0.jar
[get] Error opening connection java.io.IOException: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.4.0/ivy-2.4.0.jar
[get] Error opening connection java.io.IOException: Server returned HTTP response code: 501 for URL: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.4.0/ivy-2.4.0.jar
[get] Can't get http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.4.0/ivy-2.4.0.jar to /root/.ant/lib/ivy-2.4.0.jar
-ivy-bootstrap2:
[echo] installing ivy 2.4.0 to /root/.ant/lib
[get] Getting: http://uk.maven.org/maven2/org/apache/ivy/ivy/2.4.0/ivy-2.4.0.jar
[get] To: /root/.ant/lib/ivy-2.4.0.jar
[get] Error getting http://uk.maven.org/maven2/org/apache/ivy/ivy/2.4.0/ivy-2.4.0.jar to /root/.ant/lib/ivy-2.4.0.jar
-ivy-checksum:
[checksum] Could not find file /root/.ant/lib/ivy-2.4.0.jar to generate checksum for.
BUILD FAILED
/usr/src/pylucene/lucene-java-7.7.1/lucene/common-build.xml:527: Could not find file /root/.ant/lib/ivy-2.4.0.jar to generate checksum for.
Total time: 0 seconds
make: *** [Makefile:206: ivy] Error 1
An aside but potentially somewhat related is that in the main repo README mentions that hoaxy has only been tested on 7.6.0 but the Dockerfile for hoaxy is trying to install 7.1.1.
I tried running the instructions in the README in
/docker
but ran into several issues.First, the download link for lucene changed:
https://www.apache.org/dist/lucene/pylucene/pylucene-7.7.1-src.tar.gz
should behttps://downloads.apache.org/lucene/pylucene/pylucene-7.7.1-src.tar.gz
.After changing this I am able to get a bit further in the
docker-compose up
command but run into an issue related toivy
andant
.An aside but potentially somewhat related is that in the main repo README mentions that hoaxy has only been tested on
7.6.0
but the Dockerfile for hoaxy is trying to install7.1.1
.