Skip to content

evolvedbinary/docker-rocksjava

Repository files navigation

Docker images for cross-compiling RocksJava

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/

CentOS 5 Docker Images

To build the CentOS 5 Docker images locally:

$ git clone https://github.com/evolvedbinary/docker-rocksjava
$ cd docker-rocksjava

Requires x86_64 arch CPU

$ 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 .

CentOS 6 Docker Images

To build the CentOS 6 Docker images locally:

$ git clone https://github.com/evolvedbinary/docker-rocksjava
$ cd docker-rocksjava

Requires x86_64 arch CPU

$ 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 .

CentOS 7 Docker Images

To build the CentOS 7 Docker images locally:

$ git clone https://github.com/evolvedbinary/docker-rocksjava
$ cd docker-rocksjava

Requires x86_64 arch CPU

$ 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 .

Requires ppc64le arch CPU

$ cd centos7_ppc64le
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:centos7_ppc64le-be .

Requires arm64v8 arch CPU

$ cd centos7_arm64v8
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:centos7_arm64v8-be .

Requires s390x arch CPU

$ cd centos7_s390x
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:centos7_s390x-be .

Rocky Linux 8 Docker Images

To build the Rocky Linux 8 Docker images locally:

$ git clone https://github.com/evolvedbinary/docker-rocksjava
$ cd docker-rocksjava

Requires x86_64 arch CPU

$ cd rockylinux8_x64
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:rockylinux8_x64-be .

Ubuntu 18.04 Docker Images

To build the Ubuntu 18.04 Docker images locally:

$ git clone https://github.com/evolvedbinary/docker-rocksjava
$ cd docker-rocksjava

Requires s390x arch CPU

$ cd ubuntu18_s390x
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:ubuntu18_s390x-be .

Ubuntu 20.04 Docker Images

To build the Ubuntu 20.04 Docker images locally:

$ git clone https://github.com/evolvedbinary/docker-rocksjava
$ cd docker-rocksjava

Requires riscv64 arch CPU

$ cd ubuntu20_riscv64
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:ubuntu20_riscv64-be .

Ubuntu 22.04 Docker Images

To build the Ubuntu 22.04 Docker images locally:

$ git clone https://github.com/evolvedbinary/docker-rocksjava
$ cd docker-rocksjava

Requires x86_64 arch CPU

$ cd ubuntu22_x64
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:ubuntu22_x64-be .

Alpine 3.10 Docker Images

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

Requires x86_64 arch CPU

$ 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 .

Requires ppc64le arch CPU

$ cd alpine3_ppc64le
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:alpine3_ppc64le-be .

Requires arm64v8 arch CPU

$ cd alpine3_arm64v8
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:alpine3_arm64v8-be .

Requires s390x arch CPU

$ cd alpine3_s390x
$ docker build --rm --force-rm --squash -t evolvedbinary/rocksjava:alpine3_s390x-be .

Testing a Docker Image

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

Releases

No releases published

Packages

No packages published