-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
60 lines (50 loc) · 2.3 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
50
51
52
53
54
55
56
57
58
59
60
FROM ubuntu:22.04
LABEL maintainer="[email protected]"
WORKDIR /tools
RUN DEBIAN_FRONTEND="noninteractive" apt-get update && apt-get install -y locales &&\
rm -rf /var/lib/apt/lists/* && localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
ENV LANG en_US.utf8
RUN DEBIAN_FRONTEND="noninteractive" apt-get update && apt-get install -y \
wget \
curl \
make \
python3-pip \
openjdk-17-jdk \
openjdk-17-jre
###### ROBOT #####
ENV ROBOT_VERSION=1.9.1
RUN wget -nv https://github.com/ontodev/robot/releases/download/v$ROBOT_VERSION/robot.jar \
-O /tools/robot.jar && \
wget -nv https://raw.githubusercontent.com/ontodev/robot/v$ROBOT_VERSION/bin/robot \
-O /tools/robot && \
chmod 755 /tools/robot
ENV PATH "/tools:$PATH"
###### blazegraph-runner #####
ENV BR_VERSION=1.7
ENV PATH "/tools/blazegraph-runner/bin:$PATH"
RUN wget -nv https://github.com/balhoff/blazegraph-runner/releases/download/v$BR_VERSION/blazegraph-runner-$BR_VERSION.tgz \
&& tar -zxvf blazegraph-runner-$BR_VERSION.tgz \
&& mv blazegraph-runner-$BR_VERSION /tools/blazegraph-runner
###### relation-graph #####
ENV RG_VERSION=2.3.1
ENV PATH "/tools/relation-graph/bin:$PATH"
RUN wget -nv https://github.com/balhoff/relation-graph/releases/download/v$RG_VERSION/relation-graph-cli-$RG_VERSION.tgz \
&& tar -zxvf relation-graph-cli-$RG_VERSION.tgz \
&& mv relation-graph-cli-$RG_VERSION /tools/relation-graph
###### materializer #####
ENV MAT_VERSION=0.2.7
ENV PATH "/tools/materializer/bin:$PATH"
RUN wget -nv https://github.com/balhoff/materializer/releases/download/v$MAT_VERSION/materializer-$MAT_VERSION.tgz \
&& tar -zxvf materializer-$MAT_VERSION.tgz \
&& mv materializer-$MAT_VERSION /tools/materializer
###### blazegraph-runner #####
ENV BG_VERSION=1.7
ENV PATH "/tools/blazegraph-runner/bin:$PATH"
RUN wget -nv https://github.com/balhoff/blazegraph-runner/releases/download/v$BG_VERSION/blazegraph-runner-$BG_VERSION.tgz \
&& tar -zxvf blazegraph-runner-$BG_VERSION.tgz \
&& mv blazegraph-runner-$BG_VERSION /tools/blazegraph-runner
###### jena #####
ENV JENA_VERSION=4.7.0
ENV PATH "/tools/apache-jena/bin:$PATH"
RUN wget -nv http://archive.apache.org/dist/jena/binaries/apache-jena-$JENA_VERSION.tar.gz -O- | tar xzC /tools && \
mv /tools/apache-jena-$JENA_VERSION /tools/apache-jena