-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
executable file
·26 lines (25 loc) · 1.3 KB
/
Dockerfile
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
################# BASE IMAGE #####################
FROM continuumio/miniconda3:4.7.12
##site to test docker configuration files
# https://labs.play-with-docker.com/
################## METADATA #######################
LABEL base_image="continuumio/miniconda3"
LABEL version="4.7.12"
LABEL software="sv_somatic_cns"
LABEL software.version="1.0"
LABEL about.summary="Container image containing all requirements for sv_somatic_cns"
LABEL about.home="https://github.com/adigenova/nf-gene-fusions"
LABEL about.documentation="https://github.com/adigenova/sv_somatic_cns/README.md"
LABEL about.license_file="https://github.com/adigenova/sv_somatic_cns/LICENSE.txt"
LABEL about.license="MIT"
################## MAINTAINER ######################
MAINTAINER Alex Di Genova <digenova@gmail.com>
################## INSTALLATION ######################
COPY environment.yml /
#the next command install the ps command needed by nexflow to collect run metrics
RUN apt-get update && apt-get install -y procps
RUN conda env create -n sv_somatic_cns -f /environment.yml && conda clean -a
# Add conda installation dir to PATH (instead of doing 'conda activate')
ENV PATH /opt/conda/envs/sv_somatic_cns/bin:$PATH
# Dump the details of the installed packages to a file for posterity
RUN conda env export --name sv_somatic_cns > sv_somatic_cns-v1.0.yml