-
Notifications
You must be signed in to change notification settings - Fork 119
/
Dockerfile
49 lines (40 loc) · 1.37 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# base image
FROM ubuntu:xenial
# metadata
LABEL base.image="ubuntu:xenial"
LABEL version="1"
LABEL software="MultiQC"
LABEL software.version="1.8"
LABEL description="Aggregate bioinformatics results across many samples into a single report."
LABEL website="https://github.com/ewels/MultiQC"
LABEL license="https://github.com/ewels/MultiQC/blob/master/LICENSE"
LABEL maintainer="Erin Young"
LABEL maintainer.email="[email protected]"
# Although... let's be honest. Most of this is copied and pasted from Abigail Shockey
# install software-properties-common for add-apt-repository
RUN apt-get update && apt-get install -y \
software-properties-common
# add universe repository for texlive-xetex and texlive-math-extra
RUN add-apt-repository universe
# install remaining dependencies
RUN apt-get update && apt-get install -y \
wget \
python3 \
python3-dev \
python3-pip \
texlive-xetex \
texlive-math-extra \
locales && \
locale-gen en_US.UTF-8 && \
apt-get clean && apt-get autoclean && rm -rf /var/lib/apt/lists/*
# install multiqc
RUN pip3 install "multiqc==1.8"
# install pandoc
RUN wget https://github.com/jgm/pandoc/releases/download/2.7.3/pandoc-2.7.3-linux.tar.gz && \
tar -xvf pandoc-2.7.3-linux.tar.gz && \
rm pandoc-2.7.3-linux.tar.gz
ENV LC_ALL='C.UTF-8' LANG='C.UTF-8'
# add pandoc to path
ENV PATH="/pandoc-2.7.3/bin:${PATH}"
RUN mkdir /data
WORKDIR /data