Skip to content

Commit

Permalink
Fix broken Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterius committed Nov 13, 2024
1 parent d17a01a commit 1682dd0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion tutorials/containers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ RUN conda config --set channel_priority strict && \

# Install environment
COPY environment.yml ./
RUN conda env update -f environment.yml -n base && \
RUN conda env create -f environment.yml -n project_mrsa && \
conda clean -a

RUN echo "source activate project_mrsa" >> ~/.bashrc
ENV PATH /opt/conda/envs/project_mrsa/bin:${PATH}

# Add project files
COPY Snakefile config.yml ./
COPY code ./code/
Expand Down
2 changes: 1 addition & 1 deletion tutorials/containers/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
- bowtie2
- tbb
- samtools
- subread
- subread>=2
- bedtools
- r-base
- r-ggplot2
Expand Down

0 comments on commit 1682dd0

Please sign in to comment.