@@ -48,25 +48,47 @@ RUN apt-get update -qqy && apt-get -qqyy install \
4848 yarn \
4949 && rm -rf /var/lib/apt/lists/*
5050
51- ENV MAXMIND_DB "/root/GeoLite2-City.mmdb"
5251ENV TK_BASE_PATH "/root/Toolkit"
52+ ENV MAXMIND_DB "$TK_BASE_PATH/data/GeoLite2-City.mmdb"
5353
5454ENV CHOKIDAR_USEPOLLING=true
5555
56- WORKDIR /root
57- RUN mkdir -p $TK_BASE_PATH/development
58- RUN mkdir -p $TK_BASE_PATH/bioprogs
56+ RUN mkdir -p $TK_BASE_PATH/bioprogs/tools
5957RUN mkdir -p $TK_BASE_PATH/databases
58+ RUN mkdir -p $TK_BASE_PATH/data
59+ # install some tools
60+ WORKDIR $TK_BASE_PATH/bioprogs/tools
61+ # CLUSTALO
62+ RUN mkdir -p clustalo/bin && \
63+ wget http://www.clustal.org/omega/clustalo-1.2.4-Ubuntu-x86_64 -O clustalo/bin/clustalo && \
64+ chmod u+x clustalo/bin/clustalo
65+ # PSIBLAST
66+ RUN wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ncbi-blast-2.7.1+-x64-linux.tar.gz -O blastplus.tar.gz && \
67+ mkdir blastplus && \
68+ tar xvfz blastplus.tar.gz -C blastplus --strip-components 1 && \
69+ rm blastplus.tar.gz
70+ # KALIGN
71+ RUN wget http://ftp.debian.org/debian/pool/main/k/kalign/kalign_2.03+20110620.orig.tar.gz -O kalign.tar.gz && \
72+ mkdir kalign && \
73+ tar xvfz kalign.tar.gz -C kalign && \
74+ rm kalign.tar.gz && \
75+ cd kalign && \
76+ ./configure && \
77+ make && \
78+ # make install && \ # this would make it globally available
79+ cd ..
80+
81+ # install some databases
6082
83+
84+ WORKDIR /root
6185# Install custom maxmind geoip
62- RUN \
63- git clone https://github.com/felixgabler/maxmind-geoip2-scala.git && \
86+ RUN git clone https://github.com/felixgabler/maxmind-geoip2-scala.git && \
6487 cd maxmind-geoip2-scala && \
6588 sbt publishLocal
6689
6790# Install custom scalajs mithril
68- RUN \
69- git clone https://github.com/zy4/scalajs-mithril.git && \
91+ RUN git clone https://github.com/zy4/scalajs-mithril.git && \
7092 cd scalajs-mithril && \
7193 sbt publishLocal
7294
0 commit comments