Skip to content

Commit

Permalink
update test files
Browse files Browse the repository at this point in the history
  • Loading branch information
HadrienG committed Aug 10, 2018
1 parent ecb93b6 commit 07aa740
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/lint_examples/minimal_working_example/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ LABEL authors="phil.ewels@scilifelab.se" \
description="Docker image containing all requirements for the nf-core tools pipeline"

COPY environment.yml /
RUN conda env update -n root -f /environment.yml && conda clean -a
RUN conda env create -f /environment.yml && conda clean -a
ENV PATH /opt/conda/envs/nfcore-tools-0.4/bin:$PATH
6 changes: 5 additions & 1 deletion tests/lint_examples/minimal_working_example/Singularity
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ Bootstrap:docker
DESCRIPTION Container image containing all requirements for the nf-core/tools pipeline
VERSION 0.4

%environment
PATH=/opt/conda/envs/nfcore-tools-0.4/bin:$PATH
export PATH

%files
environment.yml /

%post
/opt/conda/bin/conda env update -n root -f /environment.yml
/opt/conda/bin/conda env create -n root -f /environment.yml
/opt/conda/bin/conda clean -a

0 comments on commit 07aa740

Please sign in to comment.