-
Notifications
You must be signed in to change notification settings - Fork 14
/
Dockerfile
42 lines (32 loc) · 1.21 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
ARG BASE_CONTAINER=jupyter/minimal-notebook
FROM $BASE_CONTAINER
LABEL maintainer="Anand Sastry <[email protected]>"
USER root
# Install GraphViz, ncbi-blast, cm-super+dvipng for latex labels,
# cpanminus+libexpat1+zlib1g-dev for MEME
RUN apt-get update --yes && \
apt-get install --yes --no-install-recommends dvipng cm-super graphviz ncbi-blast+ \
cpanminus libexpat1-dev zlib1g-dev && \
apt-get clean && rm -rf /var/lib/apt/lists/*
# Install MEME pre-requisites
RUN cpanm File::Which HTML::PullParser HTML::Template \
HTML::TreeBuilder JSON XML::Simple XML::Parser::Expat
USER $NB_UID
# Download MEME
RUN wget -q https://meme-suite.org/meme/meme-software/5.3.3/meme-5.3.3.tar.gz && \
tar xzf meme-5.3.3.tar.gz && \
rm -r meme-5.3.3.tar.gz
# Install MEME
RUN cd meme-5.3.3 && \
./configure --prefix=$HOME/meme --enable-build-libxml2 --enable-build-libxslt && \
make && \
make install && \
cd .. && \
rm -r meme-5.3.3
# Update PATHs
ENV PATH="${HOME}/meme/bin:${HOME}/meme/libexec/meme-5.3.3:${PATH}"
# Define pymodulon version
ARG PYMODULON_VERSION=1.0.0
# Install pymodulon and requirements
RUN echo $PYMODULON_VERSION
RUN pip install pymodulon==$PYMODULON_VERSION