-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
43 lines (35 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
# % Last Change: Wed Jun 23 04:36:33 PM 2021 CDT
# Base Image
FROM debian:10.9
# File Author / Maintainer
MAINTAINER Tiandao Li <[email protected]>
ENV PATH /opt/conda/bin:$PATH
# Installation
RUN echo "deb http://deb.debian.org/debian buster contrib" >> /etc/apt/sources.list && \
apt-get update --fix-missing && \
apt-get install -y \
fontconfig \
python3 \
python3-pip \
rsync \
ttf-mscorefonts-installer \
wget && \
apt-get clean all && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/log/dpkg.log /var/tmp/*
# install SigProfiler tools
RUN pip3 install -U --no-cache-dir \
SigProfilerPlotting \
SigProfilerMatrixGenerator \
SigProfilerExtractor \
SigProfilerSimulator \
SigProfilerTopography \
SigProfilerHotSpots
RUN echo "from SigProfilerMatrixGenerator import install as genInstall" > /opt/ref.py && \
echo "genInstall.install('GRCh37')" >> /opt/ref.py && \
echo "genInstall.install('GRCh38')" >> /opt/ref.py && \
/usr/bin/python3 /opt/ref.py && \
rm /opt/ref.py
# set timezone, debian and ubuntu
RUN ln -sf /usr/share/zoneinfo/America/Chicago /etc/localtime && \
echo "America/Chicago" > /etc/timezone
CMD [ "/bin/bash" ]