Skip to content

Commit 78bdafd

Browse files
felixgablerFelix Gabler
authored andcommitted
install first tools
1 parent fa26d7d commit 78bdafd

2 files changed

Lines changed: 31 additions & 9 deletions

File tree

Dockerfile

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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"
5251
ENV TK_BASE_PATH "/root/Toolkit"
52+
ENV MAXMIND_DB "$TK_BASE_PATH/data/GeoLite2-City.mmdb"
5353

5454
ENV 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
5957
RUN 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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Dockerfiles for the toolkit's docker image. It should be built automatically by DockerCloud.
33

44
To build it manually, run:
5-
``docker image build -t "proteinevolution/toolkit-docker:<VERSION>" -t "proteinevolution/toolkit-docker:latest" .``
5+
``docker image build -t "proteinevolution/toolkit-docker:1.1.1" -t "proteinevolution/toolkit-docker:latest" .``
66

77
To push the image, run:
88
``docker push proteinevolution/toolkit-docker:latest``

0 commit comments

Comments
 (0)