Bootstrap: library
From: default/ubuntu:20.04

%post
    apt-get -y update
    apt-get -y --no-install-recommends install software-properties-common
    add-apt-repository universe
    apt-get -y update
    apt-get -y --no-install-recommends install ray

%test
    if [ ! "$(command -v Ray)" ]; then
        echo "command Ray not found!"
        exit 1
    fi

%runscript
    mpiexec --use-hwthread-cpus Ray "$@"

%labels
    Author 25492070+MillironX@users.noreply.github.com
    Version v2.3.1
