Base docker image for building ZboxFS. This image is based on Ubuntu 16.04 LTS and has Rust stable and libsodium included.
This image is used as the base image for those images:
-
zbox-docker-wasm Docker image for building WebAssembly binding
-
zbox-docker-nodejs Docker image for building Node.js binding
-
zbox-docker-android Docker image for building Android Java binding
After cloning this repo, use below commands to update upstream ZboxFS.
git submodule update --remote
Make sure you've already updated to the latest upstream as above. Then use below command to build the image.
./build.sh
This image can be used to build ZboxFS on Linux. First get the latest code from https://github.com/zboxfs/zbox
git clone https://github.com/zboxfs/zbox.git
And then in the cloned folder use rust toolchain to build ZboxFS. For example,
docker run --rm -v $PWD:/root/zbox zboxfs/base cargo build
It can also be used to run the test suite.
docker run --rm -v $PWD:/root/zbox zboxfs/base cargo test