This Dockerfile sets up a tskit development environment
based on Fedora Linux 37.
This is an opinionated choice -- Fedora's packages are more
up-to-date than Ubuntu.
The image installs all required system dependencies plus a few others for convenience.
podman build . -t tskit_devIf you get errors such as:
cannot apply additional memory protection after relocation: Permission denied
Execute:
sudo setenforce 0Then proceed with podman build ....
distrobox create -i localhost/tskit_devdistrobox enter tskit_devClone tskit, build a virtual environment, install Python dependencies, and setup pre-commit:
sh /bootstrap/bootstrap_devel.sh
source venv/bin/activate