-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDockerfile
45 lines (38 loc) · 1.15 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
FROM ubuntu:20.04
LABEL maintainer="anitac@ebi.ac.uk"
WORKDIR /tools
ENV ROBOT v1.8.2
ARG ROBOT_JAR=https://github.com/ontodev/robot/releases/download/$ROBOT/robot.jar
ENV ROBOT_JAR ${ROBOT_JAR}
RUN apt-get update && \
DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
git \
openjdk-11-jre-headless \
python3-pip \
python-is-python3 \
make \
unzip \
curl \
jq \
graphviz \
nodejs \
npm
###### robot ######
RUN curl -L $ROBOT_JAR -o /tools/robot.jar &&\
curl -L https://raw.githubusercontent.com/ontodev/robot/$ROBOT/bin/robot -o /tools/robot && \
chmod +x /tools/robot && \
chmod +x /tools/robot.jar
ENV PATH "/tools/:$PATH"
###### obographviz #####
RUN cd /tools \
&& git clone 'https://github.com/cmungall/obographviz.git' \
&& cd obographviz \
&& git checkout b0d8f64517d4ae0085072866aaadb7602f41acf7 \
&& make install
ENV PATH "/tools/obographviz/bin:$PATH"
##### ontobio ######
RUN cd /tools \
&& git clone 'https://github.com/biolink/ontobio.git' \
&& cd ontobio \
&& pip install -e .[dev,test]
ENV PATH "/tools/ontobio/bin:$PATH"