-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
60 lines (56 loc) · 1.39 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
##########################
# INSTALL OS DEPENDENCIES
##########################
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive \
apt-get install --no-install-recommends -y \
apt-utils \
autoconf \
bison \
flex \
gcc \
libc6-dev \
libglib2.0-0 \
libglib2.0-dev \
libncurses5 \
libncurses5-dev \
libpcre3-dev \
libreadline8 \
libreadline-dev \
make \
pkg-config \
subversion \
git \
python3 \
python3-dev \
python3-pip \
python3-setuptools \
cython3 \
wget \
tar \
gzip \
less \
openssh-client \
mg
########################
# INSTALL PYTHON PIPENV
########################
RUN python3 -m pip install --upgrade pip && \
python3 -m pip install -q pipenv
##############################
# INSTALL CWB DEBIAN PACKAGES
##############################
RUN wget https://kumisystems.dl.sourceforge.net/project/cwb/cwb/cwb-3.5/deb/cwb_3.5.0-1_amd64.deb
RUN wget https://master.dl.sourceforge.net/project/cwb/cwb/cwb-3.5/deb/cwb-dev_3.5.0-1_amd64.deb
RUN apt-get install ./cwb_3.5.0-1_amd64.deb
RUN apt-get install ./cwb-dev_3.5.0-1_amd64.deb
######################
# INSTALL SPHEROSCOPE
######################
RUN git clone https://github.com/ausgerechnet/spheroscope.git /spheroscope
WORKDIR /spheroscope
COPY cfg_example.py
RUN make install
RUN make init && make library
RUN make run