mirror of
https://github.com/MillironX/singularity-builds.git
synced 2024-11-24 10:29:56 +00:00
22 lines
496 B
Modula-2
22 lines
496 B
Modula-2
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
|