-
Notifications
You must be signed in to change notification settings - Fork 10
Description
In the last day or so the arm64 builds we use do not seem to be available anymore. We have had to adjust our docker-compose files to use the linux/amd64 arch as a temporary work around.
postgres:
image: informaticsmatters/rdkit-cartridge-debian:Release_2024_09_2
+ platform: linux/amd64
environment:
Attempting to build the docker-rdkit image locally revealed this bit of information
> [build 2/14] RUN apt-get update && apt-get install -y --no-install-recommends build-essential python3-dev python3-numpy python3-pip cmake sqlite3 libsqlite3-dev libboost1.83 libboost1.83-dev libboost-system1.83 libboost-thread1.83 libboost-serialization1.83 libboost-python1.83 libboost-regex1.83 libboost-iostreams1.83 zlib1g-dev swig libeigen3-dev git wget openjdk-17-jdk postgresql-17 postgresql-server-dev-17 postgresql-plpython3-17 zip unzip libfreetype6-dev && apt-get clean -y:
0.215 Get:1 http://deb.debian.org/debian trixie InRelease [178 kB]
0.245 Get:2 http://deb.debian.org/debian trixie-updates InRelease [49.6 kB]
0.295 Get:3 http://deb.debian.org/debian-security trixie-security InRelease [48.0 kB]
0.311 Get:4 http://deb.debian.org/debian trixie/main arm64 Packages [9614 kB]
2.067 Fetched 9890 kB in 2s (5206 kB/s)
2.067 Reading package lists...
2.546 Reading package lists...
2.999 Building dependency tree...
3.098 Reading state information...
3.371 E: Unable to locate package openjdk-17-jdk
Since the Dockerfile doesn't appear to have updated debian trixie, a quick look at the openjdk version for trixie (https://packages.debian.org/trixie/openjdk-21-jdk) shows that version 21 is the earliest version in trixie now. The JAVA_VER defined in the Dockerfile-debian appears to point to version 17.
docker-rdkit/Dockerfile-debian
Line 21 in c3f19d7
ARG JAVA_VER=17 |
We have tested updating this version locally and it appears to work, but wanted to check if it was the "right" solution.