Build multiple variations of ARDB with the following backend database storage engines:
- LMDB:
dynomitedb-lmdb
- LevelDB:
dynomitedb-leveldb
- WiredTiger:
dynomitedb-wiredtiger
Compiling ARDB has two discrete steps:
- Build the
build-ardb
Docker image (automated via DockerHub) - Compile multiple ARDB binaries each with a different database storage engine: LMDB, LevelDB, WiredTiger
The build-ardb
Docker image is a clean, reusable build environment for ARDB.
Run the build-ardb
container to compile ARDB.
Run build-ardb
to compile ARDB with each of the following database storage engines:
- LMDB:
dynomitedb-lmdb
- LevelDB:
dynomitedb-leveldb
- WiredTiger:
dynomitedb-wiredtiger
First, clone and cd
into the ardb
git repo.
mkdir -p ~/repos/ && cd $_
git clone https://github.com/DynomiteDB/ardb.git
cd ~/repos/ardb
Build ARDB.
docker run -it --rm -v $PWD:/src dynomitedb/build-ardb -v 0.8.2
Create a debug build of ARDB.
docker run -it --rm -v $PWD:/src dynomitedb/build-ardb -d
Clean the build directory.
docker run -it --rm -v $PWD:/src dynomitedb/build-ardb -t clean
The build-ardb
Docker image, which is used to compile ARDB, is automatically built via DockerHub.
The automated build is located at https://hub.docker.com/r/dynomitedb/build-ardb.
However, you can manually build the build-ardb
image by executing the commands shown below.
First, clone the docker-build-ardb
repo and cd
into the docker-build-ardb
directory.
mkdir -p ~/repos/ && cd $_
git clone https://github.com/DynomiteDB/docker-build-ardb.git
cd ~/repos/docker-build-ardb
Create the build-ardb
image.
docker build -t dynomitedb/build-ardb .