yacy/yacy_search_server

Update ARM images on Docker Hub

mbledkowski opened this issue · 8 comments

Hello,
Images on Docker Hub (https://hub.docker.com/r/yacy/yacy_search_server/tags) for both AARCH64 and ARMV7 has not been updated for over 2 years.
Can you please update it, so I could use the latest yacy server without building it myself.
Best regards,
Maciej Błędkowski

@Orbiter, are there any plans, when to make the next release?
What is neccessary to do before that? Can anyone help?
Calls by users for releasing some newer version repeat both in Issues / releasing tag and in the forum. Probably not everyone is so skilled so s/he could build out of sources.

I produced the AARCH/ARM docker image by starting up a RaspberryPi here at home and doing the release by hand. This cannot be a permanent process. I must set up a permanent build process as I did for the normal docker image.
By the way: dockerhub is not producing them any more, you have to dockerbuild them yourself. Thats what I am doing on a rented root server (which obviously cannot do the ARM images). Lets see if I can replicate the process with a RPi.

@Orbiter Oracle Cloud offers free ARM VPS'es. You can try using those for automated builds.

Guide: https://gist.github.com/rssnyder/51e3cfedd730e7dd5f4a816143b25dbd

for now there is a fix for the armv7 and aarch64 dockerfiles in b9912ff but I did not yet publish images; will follow

I was having issues with yacy and noticed the docker container being out of date for arm and found this ticket.
after trying to build my own I found that I had to add apt-get install -yq ca-certificates-java before the install ant on line 28 of the dockerfile to avoid a build error.
the solution to that was found here: https://stackoverflow.com/questions/61305727/head-cannot-open-etc-ssl-certs-java-cacerts-for-reading-no-such-file-or-dir
after that it built and ran without issue

docker-build.patch
there is a patch, i didn't look at other arches to see if they have the same issue

Thanks for the help @brettowe, can confirm the patch works for me.