-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
39 lines (30 loc) · 1.38 KB
/
Dockerfile
File metadata and controls
39 lines (30 loc) · 1.38 KB
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
################## BASE IMAGE ######################
FROM python:3.8-slim
################## ARGUMENTS/Environments ##########
ARG BUILD_DATE
ARG BUILD_VERSION
ARG LICENSE="Apache-2.0"
ARG SEQUENCE_QC_VERSION
ARG VCS_REF
################## METADATA ########################
LABEL org.opencontainers.image.vendor="MSKCC"
LABEL org.opencontainers.image.authors="Ronak Shah (shahr2@mskcc.org)"
LABEL org.opencontainers.image.created=${BUILD_DATE} \
org.opencontainers.image.version=${BUILD_VERSION} \
org.opencontainers.image.licenses=${LICENSE} \
org.opencontainers.image.version.sequence_qc=${SEQUENCE_QC_VERSION} \
org.opencontainers.image.source.sequence_qc="https://pypi.org/project/sequence_qc/" \
org.opencontainers.image.vcs-url="https://github.com/msk-access/sequence_qc.git" \
org.opencontainers.image.vcs-ref=${VCS_REF}
LABEL org.opencontainers.image.description="This container uses python3.8 as the base image to build \
sequence_qc version ${SEQUENCE_QC_VERSION}"
################## INSTALL ##########################
WORKDIR /app
ADD . /app
RUN apt-get update \
&& apt-get install gcc g++ make procps libbz2-dev liblzma-dev libcurl4-openssl-dev libncurses5-dev zlib1g-dev locales locales-all -y --no-install-recommends \
&& pip install cython==0.29.36 \
&& pip install -r requirements.txt \
&& pip install .
ENV LC_ALL en_US.utf-8
ENV LANG en_US.utf-8