-
Notifications
You must be signed in to change notification settings - Fork 6
/
Dockerfile
49 lines (37 loc) · 1.29 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
43
44
45
46
47
48
49
FROM kbase/sdkpython:3.8.10
MAINTAINER KBase Developer [Dylan Chivian ([email protected])]
# -----------------------------------------
# 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.
# Update
RUN apt-get update
# udpate certs
RUN apt-get upgrade -y
RUN sed -i 's/\(.*DST_Root_CA_X3.crt\)/!\1/' /etc/ca-certificates.conf
RUN update-ca-certificates
# Install ETE3
RUN apt-get update && \
apt-get -y install xvfb
RUN pip install --upgrade pip
# Note: You must use PyQt5==5.11.3 on debian
RUN pip install ete3==3.1.2 PyQt5==5.11.3 numpy==1.23.1
# Install MatPlotLib
RUN pip install matplotlib==3.5.2
# Install MUSCLE
#
RUN mkdir -p /kb/module/muscle/bin && \
cd /kb/module/muscle/bin && \
curl http://drive5.com/muscle/muscle3.8.425_binaries.tar.gz > muscle3.8.425_binaries.tar.gz && \
tar xfz muscle3.8.425_binaries.tar.gz && \
ln -s muscle3.8.425_i86linux64 muscle && \
rm muscle3.8.425_binaries.tar.gz
# -----------------------------------------
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 [ ]