-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcando.def
More file actions
24 lines (22 loc) · 943 Bytes
/
cando.def
File metadata and controls
24 lines (22 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
BootStrap: docker
From: ubuntu:jammy
%post
apt-get update
apt-get upgrade -y
apt-get install -y -o Dpkg::Options::="--force-overwrite" nano wget sudo git locales curl python3-pip nodejs npm
bash -c "$(curl -fsSL https://www.thirdlaw.tech/pkg/cando.sh)"
echo 'en_US.UTF-8 UTF-8' >/etc/locale.gen
locale-gen
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
mkdir -p /home/cando/
chmod ugo+rwx /home/cando/
bash Miniconda3-latest-Linux-x86_64.sh -b -p /home/cando/miniconda3
rm -rf Miniconda3-latest-Linux-x86_64.sh
export PATH="/home/cando/miniconda3/bin:${PATH}"
conda install -y -c conda-forge jupyterlab ambertools
HOME=/home/cando cando-user-install
chmod -R ugo+rw /home/cando/
%environment
export PATH="/home/cando/miniconda3/bin:${PATH}"
export AMBERHOME=/home/cando/miniconda3
export CLASP_QUICKLISP_DIRECTORY=/home/cando/quicklisp/