安装spython
# pip3 install spython
生成singularity的recipe文件
# cd /path 先切换至Dockerfile的目录
# spython recipe Dockerfile &> Singularityfile
创建镜像
# singularity build xxx.sif Singularityfile
安装spython
# pip3 install spython
生成singularity的recipe文件
# cd /path 先切换至Dockerfile的目录
# spython recipe Dockerfile &> Singularityfile
创建镜像
# singularity build xxx.sif Singularityfile