Hi Jeen (and others),
As follow-up to GH-2374 docker 😊
Building the docker images is straightforward: just wait for a new release, and use the build files in assembly/src/main/dist/docker
E.g , ‘cd’ to that directory and run (don’t forget the dot at the end of the line)
docker build --build-arg VERSION=3.4.4 --file Dockerfile.amd64 --tag eclipse/rdf4j-workbench:amd64-3.4.4 .
docker build --build-arg VERSION=3.4.4 --file Dockerfile.amd64 --tag eclipse/rdf4j-workbench:amd64-latest .
Building the ARM-images on x86 (or vice versa) can be done after installing some additional qemu packages, e.g. for Ubuntu
apt-get install qemu binfmt-support qemu-user-static # Install the qemu packages
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes # This step will execute the registering scripts
(see also
https://www.stereolabs.com/docs/docker/building-arm-container-on-x86/)
After that, it’s just the same command with a different docker file
docker build --build-arg VERSION=3.4.4 --file Dockerfile.arm64v8 --tag eclipse/rdf4j-workbench:arm64v8-3.4.4 .
docker build --build-arg VERSION=3.4.4 --file Dockerfile.arm64v8 --tag eclipse/rdf4j-workbench:arm64v8-latest .
Pushing to hub.docker.com is a bit trickier, you’ll need to ask the Eclipse PMC to add your docker.com account to the Eclipse organization.
After that, it’s just
docker login
docker push eclipse/rdf4j-workbench:arm64v8-latest
…
Best regards,
Bart Hanssens