-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathDockerfile
More file actions
40 lines (29 loc) · 1.1 KB
/
Dockerfile
File metadata and controls
40 lines (29 loc) · 1.1 KB
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
FROM kbase/sdkpython:3.8.0
MAINTAINER KBase Developer
# -----------------------------------------
# In this section, you can install any system dependencies required
# to run your App. For instance, you could place an apt-get update or
# install line here, a git checkout to download code, or run any other
# installation scripts.
# To install all the dependencies
RUN apt-get update && apt-get install -y build-essential wget make curl unzip autoconf && \
apt-get install -y r-base r-cran-gplots
# To download the Maxbin software and untar it
RUN mkdir MaxBin && cd MaxBin && \
wget https://sourceforge.net/projects/maxbin2/files/MaxBin-2.2.7.tar.gz/download &&\
tar xvf download && \
cd MaxBin-2.2.7/src && \
make && \
cd .. && \
./autobuild_auxiliary
RUN mkdir -p /kb/deployment/bin/MaxBin && \
cp -R /MaxBin/MaxBin-2.2.7/* /kb/deployment/bin/MaxBin
RUN pip install biopython==1.81
# -----------------------------------------
COPY ./ /kb/module
RUN mkdir -p /kb/module/work
RUN chmod -R a+rw /kb/module
WORKDIR /kb/module
RUN make all
ENTRYPOINT [ "./scripts/entrypoint.sh" ]
CMD [ ]