Singularity is a container software. It is basically similar to Docker . Arch is a Linux distribution.
Create a myimage.def
file:
Bootstrap: docker
From: archlinux:latest
%post -xe
pacman --noconfirm -Syu
–noconfirm
is necessary, otherwise building the image fails.
Build
the
image
with sudo singularity build myimage.sif myimage.def
.