Skip to content

Commit 5e83946

Browse files
committed
Merge branch 'apptainer'
2 parents dc093de + df2939a commit 5e83946

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

apptainer/cando.def

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
BootStrap: docker
2+
From: ubuntu:jammy
3+
4+
%post
5+
apt-get update
6+
apt-get upgrade -y
7+
apt-get install -y -o Dpkg::Options::="--force-overwrite" nano wget sudo git locales curl python3-pip nodejs npm binutils-gold clang-14 libclang-14-dev libfmt-dev libboost-dev libclang-cpp14-dev libelf-dev libgmp-dev libunwind-dev llvm-14 ninja-build sbcl pkg-config libnetcdf-dev libczmq-dev libexpat1-dev
8+
echo 'en_US.UTF-8 UTF-8' >/etc/locale.gen
9+
locale-gen
10+
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
11+
mkdir -p /home/cando/
12+
chmod ugo+rwx /home/cando/
13+
bash Miniconda3-latest-Linux-x86_64.sh -b -p /home/cando/miniconda3
14+
rm -rf Miniconda3-latest-Linux-x86_64.sh
15+
export PATH="/home/cando/miniconda3/bin:${PATH}"
16+
conda install -y -c conda-forge jupyterlab ambertools
17+
cd /mnt
18+
./koga --extensions=cando,seqan-clasp --build-path=build-apptainer/
19+
ninja -C build-apptainer
20+
ninja -C build-apptainer install
21+
HOME=/home/cando cando-user-install
22+
chmod -R ugo+rw /home/cando/
23+
24+
%environment
25+
export PATH="/home/cando/miniconda3/bin:${PATH}"
26+
export AMBERHOME=/home/cando/miniconda3
27+
export CLASP_QUICKLISP_DIRECTORY=/home/cando/quicklisp/

apptainer/clasp.def

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
BootStrap: docker
2+
From: ubuntu:jammy
3+
4+
%post
5+
apt-get update
6+
apt-get upgrade -y
7+
apt-get install -y -o Dpkg::Options::="--force-overwrite" nano wget sudo git locales curl python3-pip nodejs npm binutils-gold clang-14 libclang-14-dev libfmt-dev libboost-dev libclang-cpp14-dev libelf-dev libgmp-dev libunwind-dev llvm-14 ninja-build sbcl pkg-config libnetcdf-dev libczmq-dev libexpat1-dev
8+
echo 'en_US.UTF-8 UTF-8' >/etc/locale.gen
9+
locale-gen
10+
cd /mnt
11+
./koga --build-path=build-apptainer/
12+
ninja -C build-apptainer
13+
ninja -C build-apptainer install
14+
15+
%environment
16+
export CLASP_QUICKLISP_DIRECTORY=/home/cando/quicklisp/

0 commit comments

Comments
 (0)