-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitpod.yml
26 lines (24 loc) · 951 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
26
# gitpod configuration file for 2023 SIB course on Biodiversity bioinformatics
# Base docker image to create the workspace
# Runs on Ubuntu 22.04
image: gitpod/workspace-base
# List start up tasks
tasks:
- name: computing terminal
# Install mamba and create computing environment
init: |
curl -L -O "https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh"
bash Mambaforge-$(uname)-$(uname -m).sh -b -p /workspace/mambaforge
rm Mambaforge-$(uname)-$(uname -m).sh
/workspace/mambaforge/bin/mamba init bash
source ${HOME}/.bashrc
mamba env create -f envs/course.yaml
Rscript envs/Bgee_packages.R
mamba clean --all -y
# Activate working environment, add cafe5 to PATH and clean terminal
command: |
/workspace/mambaforge/bin/mamba init bash
source ~/.bashrc
mamba activate course
cd /workspace/biodivinfo/
reset