我正在尝试在centOS linux
. 为此,我制作了以下 Singularity.recipe:
Bootstrap: yum
OSVersion: 7
MirrorURL: http://mirror.centos.org/centos-%{OSVERSION}/%{OSVERSION}/os/x86_64/
Include: yum
%post
yum -y install epel-release
yum -y install python34
%file
QC.py /
%runscript
python3 /QC.py
然后我使用这个命令来构建图像:
sudo singularity build test.simg Singularity.recipe
但我给出了这个错误:
FATAL: Unable to build from Singularity.recipe: while parsing definition: Singularity.recipe: invalid section(s) specified: file
你知道如何解决这个问题吗?