Skip to content

Commit 952482b

Browse files
set env variable for CONDA_PKGS_DIRS in container image
1 parent 9607cdf commit 952482b

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.gitpod.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@ image: snakemake/snakemake-tutorial:stable
22

33
tasks:
44
- name: main terminal
5-
env:
6-
CONDA_PKGS_DIRS: /tmp/conda
75
command: |
86
rm Dockerfile
9-
mkdir -p /tmp/conda
107
echo -e "# Snakemake-Tutorial\n\nYour gitpod workspace for the snakemake-tutorial has been initialized. Now you can start with the [basic tutorial](https://snakemake.readthedocs.io/en/stable/tutorial/basics.html)." > README.md
118
echo "PS1='\w\$ '" >> ~/.bashrc
129
source ~/.bashrc

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
FROM snakemake/snakemake:stable
22
ADD environment.yaml .
33
RUN grep -v snakemake-minimal environment.yaml > /tmp/environment.yaml; mamba env update -n snakemake -f /tmp/environment.yaml
4+
RUN mkdir -p /tmp/conda
5+
ENV CONDA_PKGS_DIRS /tmp/conda

0 commit comments

Comments
 (0)