Skip to content

Latest commit

 

History

History

fedora_dev

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

A Linux development environment

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.

Use

Build the image locally

podman build . -t tskit_dev

Note

If you get errors such as:

cannot apply additional memory protection after relocation: Permission denied

Execute:

sudo setenforce 0

Then proceed with podman build ....

Create a shell environment

distrobox create -i localhost/tskit_dev

Enter the enviroment

distrobox enter tskit_dev

Bootstrap the development environment

Clone tskit, build a virtual environment, install Python dependencies, and setup pre-commit:

sh /bootstrap/bootstrap_devel.sh

Get ready to work

source venv/bin/activate