Bootstrap: docker
From: python:3.11

%labels
    Author Paul Pinchuk
    Maintainer  ppinchuk@nlr.gov
    URL https://github.com/NatLabRockies/gaps

%post
    echo "Installing vim"
    apt-get update && apt-get -y upgrade
    apt-get -y --allow-unauthenticated install vim git wget nano make

    echo "Downloading GAPs"
    git clone https://github.com/NatLabRockies/gaps.git

    echo "Installing GAPs..."
    cd gaps
    pip install -e .

%runscript
    "$@"