-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDockerfile
38 lines (30 loc) · 1.09 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
FROM kbase/kbase:sdkbase.latest
MAINTAINER KBase Developer
# -----------------------------------------
# Insert apt-get instructions here to install
# any required dependencies for your module.
# RUN apt-get update
RUN apt-get update && \
echo 'mysql-server mysql-server/root_password password 12345' | debconf-set-selections && \
echo 'mysql-server mysql-server/root_password_again password 12345' | debconf-set-selections && \
apt-get -y install mysql-server
RUN service mysql start
WORKDIR /tmp
RUN wget http://www.micans.org/mcl/src/mcl-12-068.tar.gz
RUN tar xzf mcl-12-068.tar.gz
RUN wget http://orthomcl.org/common/downloads/software/v2.0/orthomclSoftware-v2.0.9.tar.gz
RUN tar xzf orthomclSoftware-v2.0.9.tar.gz
WORKDIR /tmp/mcl-12-068
RUN ./configure --prefix=/usr
RUN make install
WORKDIR /tmp/orthomclSoftware-v2.0.9
RUN cp ./bin/* /kb/deployment/plbin/
RUN cp -r ./lib/perl/* /kb/deployment/lib/
RUN apt-get -y install mc
# -----------------------------------------
COPY ./ /kb/module
RUN mkdir -p /kb/module/work
WORKDIR /kb/module
RUN make
ENTRYPOINT [ "./scripts/entrypoint.sh" ]
CMD [ ]