This Docker image provides a container with all dependencies pre-installed so you can run Apache Solr Orbit without a local Python setup.
Prerequisite: Docker Desktop or Docker Engine must be installed.
docker run apache/solr-orbit [ARGS]
For example, passing -h prints the help text. The container exits automatically when the process finishes.
To run interactively:
docker run --entrypoint bash -it apache/solr-orbit -c /bin/bash
This drops you into a shell inside the container where you can invoke solr-orbit with any subcommand or option. Exit the shell to terminate the container.
Clone the repository:
git clone https://github.com/apache/solr-orbit.git cd solr-orbit
Make any local changes.
Build the image:
docker build --build-arg VERSION=<version> -t solr-orbit:<tag> -f docker/Dockerfile .
The VERSION build argument is embedded in the image labels. You can set it to any string that identifies your build (e.g. dev or a semantic version).
Follow the Dockerfile best practices guide when modifying the Dockerfile.