forked from MultiQC/MultiQC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
47 lines (37 loc) · 1.18 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
# Teeny-tiny matplotlib image based on alpine
FROM python:3.6-slim
LABEL author="Phil Ewels" \
description="MultiQC" \
maintainer="phil.ewels@scilifelab.se"
# RUN apk add --no-cache bash gcc gfortran build-base wget freetype-dev libpng-dev openblas-dev
# Add the MultiQC source files to the container
ADD . /usr/src/multiqc
WORKDIR /usr/src/multiqc
ENV LC_ALL en_US.utf-8
ENV LANG en_US.utf-8
ENV PYTHONIOENCODING utf-8
ENV LC_ALL=en_US.utf-8
ENV LANG=en_US.utf-8
ENV PYTHONIOENCODING=utf-8
RUN apt-get -qq update && \
apt-get -q -y upgrade && \
apt-get install -y locales
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen \
&& sed -i -e 's/# pt_BR.UTF-8 UTF-8/pt_BR.UTF-8 UTF-8/' /etc/locale.gen \
&& locale-gen en_US.utf-8
# Install MultiQC
RUN pip install --upgrade pip && pip install --no-cache-dir scipy
RUN python -m pip install .
ENV LC_ALL en_US.utf-8
ENV LANG en_US.utf-8
ENV PYTHONIOENCODING utf-8
ENV LC_ALL=en_US.utf-8
ENV LANG=en_US.utf-8
ENV PYTHONIOENCODING=utf-8
CMD ["/bin/bash"]
ENV LC_ALL en_US.utf-8
ENV LANG en_US.utf-8
ENV PYTHONIOENCODING utf-8
ENV LC_ALL=en_US.utf-8
ENV LANG=en_US.utf-8
ENV PYTHONIOENCODING=utf-8