-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
35 lines (31 loc) · 829 Bytes
/
Copy pathDockerfile
File metadata and controls
35 lines (31 loc) · 829 Bytes
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
# This is a Dockerfile for getting started with META
# https://www.coursera.org/learn/text-mining/home/welcome
# META is installed in /code/meta
FROM ubuntu:trusty
ENV META_VER=2.4.2
RUN apt-get update && \
apt-get install -y software-properties-common && \
apt-get clean
# add the ppa for cmake
RUN add-apt-repository ppa:george-edison55/cmake-3.x
RUN apt-get update && \
apt-get install -y g++ \
cmake \
libicu-dev \
git \
libjemalloc-dev \
zlib1g-dev \
pxz \
liblzma-dev \
libicu-dev && \
apt-get clean
RUN mkdir -p /code && \
cd code && \
git clone --recursive https://github.com/meta-toolkit/meta.git && \
cd /code/meta && \
git checkout tags/v${META_VER} && \
git submodule update --recursive && \
mkdir -p build && \
cd build && \
cmake .. && \
make -j4