For easier setup or testing JULEA, you can use the development container, which contains JULEA's required dependencies.
Setting up and using the container looks like the following:
$ git clone https://github.com/parcio/julea.git
$ docker pull ghcr.io/parcio/ubuntu-dev:22.04
$ docker run -v $PWD/julea:/julea -it ghcr.io/parcio/ubuntu-dev:22.04
Continue with the following commands inside the container:
$ . scripts/environment.sh
$ meson setup --prefix="/julea/install" -Db_sanitize=address,undefined bld
$ ninja -C bld
$ julea-config --user \
--object-servers="$(hostname)" --kv-servers="$(hostname)" --db-servers="$(hostname)" \
--object-backend=posix --object-path="/tmp/julea-$(id -u)/posix" \
--kv-backend=lmdb --kv-path="/tmp/julea-$(id -u)/lmdb" \
--db-backend=sqlite --db-path="/tmp/julea-$(id -u)/sqlite"
$ ./scripts/setup.sh start
$ ./scripts/test.sh
$ ./scripts/setup.sh stop
The Dockerfile can be found at containers/ubuntu-22.04-dev
.
To build the container, use the following commands:
$ cd julea/containers
$ docker build -f ubuntu-22.04-dev -t parcio/ubuntu-dev:22.04 .