-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile
68 lines (62 loc) · 1.53 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
61
62
63
64
65
66
67
68
FROM ubuntu:24.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 LATEST CWB
#####################
# RUN svn co http://svn.code.sf.net/p/cwb/code/cwb/trunk /cwb
# WORKDIR /cwb
# RUN sed -i 's/SITE=beta-install/SITE=standard/' config.mk && \
# ./install-scripts/install-linux && \
# ldconfig
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 PYTHON DEPENDENCIES
##############################
RUN python3 -m pip install --upgrade pip
RUN git clone https://github.com/ausgerechnet/cwb-ccc.git /cwb-ccc
WORKDIR /cwb-ccc
RUN git checkout v0.12.2
###############
# BUILD & TEST
###############
RUN make clean
RUN make install
RUN make compile
RUN make build
RUN make test