Skip to content

Commit 5e6ce1a

Browse files
author
Anita Caron
committed
Merge branch 'master' into report-release
2 parents 70f26b4 + c8ae911 commit 5e6ce1a

4 files changed

Lines changed: 40 additions & 33 deletions

File tree

Dockerfile

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
FROM ubuntu:20.04
2+
LABEL maintainer="anitac@ebi.ac.uk"
3+
4+
WORKDIR /tools
5+
6+
ENV ROBOT v1.8.1
7+
ARG ROBOT_JAR=https://github.com/ontodev/robot/releases/download/$ROBOT/robot.jar
8+
ENV ROBOT_JAR ${ROBOT_JAR}
9+
10+
RUN apt-get update && \
11+
DEBIAN_FRONTEND="noninteractive" apt-get install -y --no-install-recommends \
12+
git \
13+
openjdk-11-jre-headless \
14+
python3-pip \
15+
python-is-python3 \
16+
make \
17+
unzip \
18+
curl \
19+
jq \
20+
graphviz \
21+
nodejs \
22+
npm
23+
24+
###### robot ######
25+
RUN curl -L $ROBOT_JAR -o /tools/robot.jar &&\
26+
curl -L https://raw.githubusercontent.com/ontodev/robot/$ROBOT/bin/robot -o /tools/robot && \
27+
chmod +x /tools/robot && \
28+
chmod +x /tools/robot.jar
29+
30+
ENV PATH "/tools/:$PATH"
31+
32+
###### obographviz #####
33+
RUN cd /tools \
34+
&& git clone 'https://github.com/cmungall/obographviz.git' \
35+
&& cd obographviz \
36+
&& git checkout b0d8f64517d4ae0085072866aaadb7602f41acf7 \
37+
&& make install
38+
ENV PATH "/tools/obographviz/bin:$PATH"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ pandas
22
SPARQLWrapper
33
rdflib
44
openpyxl
5-
requests
5+
requests

src/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
# we therefore map the whole repo (../..) to a docker volume.
1010
#
1111
# See README-editors.md for more details.
12-
docker run -v $PWD/../:/work -w /work/src/ -e ROBOT_JAVA_ARGS='' -e JAVA_OPTS='' --rm -ti obolibrary/odkfull "$@"
12+
docker run -v $PWD/../:/work -w /work/src/ -e ROBOT_JAVA_ARGS='' -e JAVA_OPTS='' --rm -ti anitacaron/ccf-tools-dep "$@"

src/test.mk

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)