setup_apps_apptainer.sh added
This commit is contained in:
parent
03a8ba8366
commit
fc692afc18
|
@ -0,0 +1,23 @@
|
||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if [ "$EUID" -ne 0 ]
|
||||||
|
then echo "Please run as root"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
apt-get update
|
||||||
|
apt-get install -y build-essential uuid-dev libgpgme-dev squashfs-tools libseccomp-dev wget pkg-config git cryptsetup-bin
|
||||||
|
apt install golang-go
|
||||||
|
|
||||||
|
#install apptainer
|
||||||
|
export VERSION=1.0.3
|
||||||
|
|
||||||
|
wget https://github.com/apptainer/apptainer/releases/download/v${VERSION}/apptainer-${VERSION}.tar.gz
|
||||||
|
tar -xzf apptainer-${VERSION}.tar.gz
|
||||||
|
cd apptainer-${VERSION}
|
||||||
|
|
||||||
|
./mconfig
|
||||||
|
make -C ./apptainer-${VERSION}/builddir
|
||||||
|
|
||||||
|
make -C ./apptainer-${VERSION}/builddir install
|
Loading…
Reference in New Issue