-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitpod.yml
25 lines (21 loc) · 838 Bytes
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
image:
file: .gitpod.Dockerfile
tasks:
- name: Setup and Activate Conda Environment
init: >
if [ ! -d $HOME/miniconda ]; then
echo "Installing Miniconda...";
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
bash miniconda.sh -b -p $HOME/miniconda;
rm miniconda.sh;
echo "Miniconda installed.";
fi;
echo "PATH=$HOME/miniconda/bin:$PATH" >> $HOME/.bashrc;
source $HOME/.bashrc;
conda config --set auto_activate_base false;
echo "Creating Conda Environment...";
conda env create -f environment.yml || conda env update -f environment.yml;
command: echo "Activating Conda Environment..." && conda activate variant_calling
ports:
- port: 8888
onOpen: open-preview