Docker container used to compile Dynomite.
2.7K
The build-dynomite container provides a clean, reusable and immutable build environment in which to compile Dynomite.
Compiling Dynomite has two discrete steps:
build-dynomite Docker image (automated via DockerHub)Run the build-dynomite container to compile Dynomite.
build-dynomite supports optional flags:
-v tag-version: Specify a tagged release to build based on GitHub tags. If -v is not used then the dev branch is used for the build. Specifying -v without a tag-version will result in a build error.-d [mode]: Default mode is production which disables logging. debug mode which causes dynomite to output debug level logs. Possible values: debug, log. production.-t target: Specify a make build target.docker run -it --rm -v $PWD:/src dynomitedb/build-dynomite -F 0.5.8 -d production
Build Dynomite using a tagged version. For example, to build the tagged release v0.5.8 execute the command below.
docker run -it --rm -v $PWD:/src dynomitedb/build-dynomite -v v0.5.8
You can build Dynomite using a fake version. A fake version builds the HEAD of the dev branch, yet uses the fake version for the .deb package.
For example, to build a fake version of 0.5.8 execute the command below.
Notice how the fake version does not use a
vprefix. This is deliberately different from a tagged release.
docker run -it --rm -v $PWD:/src dynomitedb/build-dynomite -F 0.5.8
dev branchBuild Dynomite using the dev branch.
docker run -it --rm -v $PWD:/src dynomitedb/build-dynomite
Create a debug build.
docker run -it --rm -v $PWD:/src dynomitedb/build-dynomite -d debug
build-dynomite imageThe build-dynomite Docker image is automatically built via DockerHub at https://hub.docker.com/r/dynomitedb/build-dynomite.
The instructions below allow you to manually build the build-dynomite image, if required.
Clone the docker-build-dynomite repo from Github.
mkdir -p ~/repos/ && cd $_
git clone https://github.com/DynomiteDB/docker-build-dynomite.git
cd into the build-dynomite directory.
cd ~/docker-build-dynomite
Create the build-dynomite image.
docker build -t dynomitedb/build-dynomite .
Content type
Image
Digest
Size
199.1 MB
Last updated
about 10 years ago
docker pull dynomitedb/build-dynomite