Commit 2591cde1 authored by rancher's avatar rancher

Dockerfile added

parent ba9a0507
FROM ubuntu:16.04
RUN apt-get update && \
apt-get install -y \
apt-utils iputils-ping \
git subversion \
vim ranger atool htop curl \
locales locales-all \
cmake g++ \
libboost-all-dev \
libicu-dev \
libloki-dev \
libxml++2.6-dev \
flex bison wget \
software-properties-common
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
RUN wget -O - http://download.sgjp.pl/apt/sgjp.gpg.key|sudo apt-key add - && \
apt-add-repository http://download.sgjp.pl/apt/ubuntu && apt update && \
apt install -y *morfeusz2*
WORKDIR /home/install
RUN wget http://tools.clarin-pl.eu/share/morfeusz-SGJP-linux64-20130413.tar.bz2 && \
tar -jxvf morfeusz-SGJP-linux64-20130413.tar.bz2 && \
mv libmorfeusz* /usr/local/lib/ && \
mv morfeusz /usr/local/bin/ && \
mv morfeusz.h /usr/local/include/ && \
ldconfig && \
cd /home/install && \
rm -rf morfeusz-sgjp
WORKDIR /home/install
RUN git clone https://gitlab.clarin-pl.eu/analysers/corpus2.git && \
mkdir corpus2/bin && \
cd corpus2/bin && \
cmake .. && \
make && \
make install && \
ldconfig && \
cd /home/install && \
rm -rf corpus2
WORKDIR /home/install
RUN git clone https://gitlab.clarin-pl.eu/analysers/toki.git && \
mkdir toki/bin && \
cd toki/bin && \
cmake .. && \
make && \
make install && \
ldconfig && \
cd /home/install && \
rm -rf toki
WORKDIR /home/install
COPY . maca/
RUN mkdir maca/bin && \
cd maca/bin && \
cmake .. && \
make && \
make install && \
ldconfig && \
cd /home/install && \
rm -rf maca
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment