Bootstrap: docker
From: python:3.9-slim

%labels
VERSION v0.1

%help
    Recipe template

%post
    echo "Installing gcc, git and build-essential"
    apt update -y
    apt install build-essential gcc libssl-dev git -y

cd /home
    echo "All dependencies can be installed here"
    git clone https://github.com/automl/DACBench.git
    echo "We clone and install DACBench"
    cd DACBench
    git checkout main
    git submodule update --init --recursive
    echo "Install the extra requirements of the benchmark"
    pip install .[<benchmark>]


%runscript
   python dacbench/container/remote_runner.py $@