The looseleaf package is available from several sources:
Regardless of the distribution method, the looseleaf package
will contain a command named looseleaf that acts as the main
entrypoint to all of the package's functionality. The looseleaf
command expects an environment variable named LOOSELEAF_HOME
to be defined that points to the installation directory. See the documentation for the
installation methods below for details.
The
looseleaf package can be installed from
quay.io
using
docker or
podman.
The image is configured such that LOOSELEAF_HOME=/looseleaf,
with the looseleaf command existing at
/looseleaf/bin/looseleaf. The image is configured with the
expectation that users will mount a volume at /looseleaf/etc
containing a configuration file and space for the looseleaf database file. The container can
otherwise be run without any privileges, and with a read-only root filesystem.
The looseleaf command requires that a Java 17+ compatible
JVM be accessible via /usr/bin/env java.
Verify the integrity of the distribution zip file:
Unzip the zip file, and set LOOSELEAF_HOME appropriately: