These Docker images simply provide a suitable build environment, they do not include RocksDB or RocksJava itself. They could however also be used as base images for a RocksDB runtime environment.
https://hub.docker.com/r/evolvedbinary/rocksjava/
To build the CentOS 5 Docker images locally:
$ git clone https://github.com/evolvedbinary/docker-rocksjava
$ cd docker-rocksjava
$ cd centos5_x64
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:centos5_x64-be .
$ cd ../centos5_x86
$ docker build --rm --force-rm --squash --platform linux/386 -t evolvedbinary/rocksjava:centos5_x86-be .
To build the CentOS 6 Docker images locally:
$ git clone https://github.com/evolvedbinary/docker-rocksjava
$ cd docker-rocksjava
$ cd centos6_x64
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:centos6_x64-be .
$ cd ../centos6_x86
$ docker build --rm --force-rm --squash --platform linux/386 -t evolvedbinary/rocksjava:centos6_x86-be .
To build the CentOS 7 Docker images locally:
$ git clone https://github.com/evolvedbinary/docker-rocksjava
$ cd docker-rocksjava
$ cd centos7_x64
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:centos7_x64-be .
$ cd ../centos7_x86
$ docker build --rm --force-rm --squash --platform linux/386 -t evolvedbinary/rocksjava:centos7_x86-be .
$ cd centos7_ppc64le
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:centos7_ppc64le-be .
$ cd centos7_arm64v8
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:centos7_arm64v8-be .
$ cd centos7_s390x
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:centos7_s390x-be .
To build the Rocky Linux 8 Docker images locally:
$ git clone https://github.com/evolvedbinary/docker-rocksjava
$ cd docker-rocksjava
$ cd rockylinux8_x64
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:rockylinux8_x64-be .
To build the Ubuntu 18.04 Docker images locally:
$ git clone https://github.com/evolvedbinary/docker-rocksjava
$ cd docker-rocksjava
$ cd ubuntu18_s390x
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:ubuntu18_s390x-be .
To build the Ubuntu 20.04 Docker images locally:
$ git clone https://github.com/evolvedbinary/docker-rocksjava
$ cd docker-rocksjava
$ cd ubuntu20_riscv64
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:ubuntu20_riscv64-be .
To build the Ubuntu 22.04 Docker images locally:
$ git clone https://github.com/evolvedbinary/docker-rocksjava
$ cd docker-rocksjava
$ cd ubuntu22_x64
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:ubuntu22_x64-be .
NOTE: Alpine uses muslc instead of glibc, and so RocksDB builds on Alpine will only run on systems with muslc.
To build the Alpine 3.10 Docker images locally:
$ git clone https://github.com/evolvedbinary/docker-rocksjava
$ cd docker-rocksjava
$ cd alpine3_x64
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:alpine3_x64-be .
$ cd ../alpine3_x86
$ docker build --rm --force-rm --squash --platform linux/386 -t evolvedbinary/rocksjava:alpine3_x86-be .
$ cd alpine3_ppc64le
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:alpine3_ppc64le-be .
$ cd alpine3_arm64v8
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:alpine3_arm64v8-be .
$ cd alpine3_s390x
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:alpine3_s390x-be .
For example to test the Docker CentOS 6 x64 build environment for RocksDB:
$ docker run --volume /local-path-to/rocksdb:/rocksdb-host -it evolvedbinary/rocksjava:centos6_x64-be /bin/bash