Packaging
Packaging an extraction plugin is handled by Maven. To package your plugin into a container image, the following command can be used:
mvn package docker:build
This will generate a plugin image:
The extraction plugin is added to your local image registry (
docker images),The image name is
extraction-plugin/PLUGINID, e.g.extraction-plugin/nfi.nl/extract/chat/whatsapp,The image is labeled with two tags:
latest, and your plugin version.
Note: if your build environment does not have Docker available, you can use
podman as an alternative. Install podman on your machine
or build agent, and run the following commands before invoking the
mvn package docker:build command:
podman system service --time=0 unix:/run/user/$(id -u)/podman/podman.sock &
export DOCKER_HOST="unix:/run/user/$(id -u)/podman/podman.sock"