Debian Codegraph @

paper/containers/tools/python-bash/Dockerfile

raw
1 #################################################################
2 # Dockerfile
3 #
4 # Software: python
5 # Software Version: 3.6
6 # Description: Python 3.6 pandas, seaborn, and other libraries
7 # Provides: python
8 # Base Image: phusion/baseimage
9 # Build Cmd: docker build -f Dockerfile -t jdidion/python_bash .
10 # Pull Cmd: docker pull jdidion/python_bash
11 # Run Cmd: docker run --rm jdidion/python_bash python -h
12 #################################################################
13 FROM phusion/baseimage:latest
14 WORKDIR /tmp
15
16 ENV BUILD_PACKAGES \
17 build-essential \
18 g++ \
19 gfortran \
20 libbz2-dev \
21 zlib1g-dev \
22 liblzma-dev \
23 libpng-dev \
24 libfreetype6-dev \
25 git
26 ENV RUNTIME_PACKAGES \
27 libncurses5-dev \
28 libncursesw5-dev \
29 python3-pip \
30 time
31
32 RUN apt-get update && apt-get install --yes \
33 $BUILD_PACKAGES \
34 $RUNTIME_PACKAGES \
35 && ln -s /usr/bin/python3 /usr/bin/python \
36 && ln -s /usr/bin/pip3 /usr/bin/pip \
37 && pip install --upgrade pip \
38 && pip install cython \
39 && pip install editdistance \
40 && pip install numpy \
41 && pip install pandas \
42 && pip install matplotlib \
43 && pip install seaborn \
44 && pip install mako \
45 && pip install pysam \
46 && pip uninstall --yes cython \
47 && apt-get remove --purge -y $BUILD_PACKAGES \
48 && rm -rf /var/lib/apt/lists/* \
49 && rm -rf /tmp/*