FROM nfcore/base

LABEL description="Docker image containing all requirements for nf-core/eager pipeline"
COPY environment.yml /
RUN conda env create -f /environment.yml && conda clean -a
RUN wget -P /opt/conda/envs/nf-core-eager-2.0.5/bin/ https://github.com/broadinstitute/picard/releases/download/2.18.26/picard.jar
COPY picard /opt/conda/envs/nf-core-eager-2.0.5/bin/
ENV PATH /opt/conda/envs/nf-core-eager-2.0.5/bin:$PATH
