-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDockerfile
24 lines (19 loc) · 963 Bytes
/
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
# build for nextflow-kraken2, based on miniconda3 as multiqc 1.9 needs python3
# build stage
FROM continuumio/miniconda3:4.7.12
LABEL description="Docker image containing all requirements for running kraken2, bracken and kaiju"
LABEL maintainer="Angel Angelov <[email protected]>"
# the base image of continuumio does not have some programs needed to compile kaiju, procps needed ny nextflow
RUN apt-get update --fix-missing && \
apt-get install -y git gcc g++ libz-dev make procps && apt-get clean -y
# kaiju is not available on anaconda
# install bracken also from github
RUN git clone https://github.com/bioinformatics-centre/kaiju.git && \
cd kaiju/src && \
make
# make kaiju and bracken binaries available
ENV PATH /kaiju/bin:/Bracken:$PATH
# final stage, install dev version of multiqc
COPY environment.yml .
RUN conda env update -n root -f environment.yml && \
conda clean -afy && pip install git+https://github.com/ewels/MultiQC.git