Commit 15427956 authored by Bartosz Ziemba's avatar Bartosz Ziemba Committed by Mateusz Gniewkowski

Resolve "Adjust Dockefile"

parent e7a82339
FROM clarinpl/builder AS builder
FROM clarinpl/python:3.6
RUN apt-get update && apt-get install -y \
......@@ -10,20 +9,20 @@ RUN apt-get update && apt-get install -y \
libssl-dev \
libxml2-utils \
swig \
openjdk-8-jdk
corpus2-python3.6 \
wccl-python3.6 \
morfeusz
WORKDIR /tmp/
RUN apt remove -y cmake && \
RUN wget -O morf 'https://nextcloud.clarin-pl.eu/index.php/s/VVIvx4w20azcWbp/download' && \
dpkg -i ./morf && \
apt remove -y cmake && \
wget https://github.com/Kitware/CMake/releases/download/v3.16.0-rc2/cmake-3.16.0-rc2-Linux-x86_64.tar.gz && \
tar -xzf cmake*tar.gz && \
ln -s $(pwd)/cmake*/bin/cmake /usr/bin/cmake
COPY --from=builder /install/corpus2 /
COPY --from=builder /install/wccl /
COPY --from=builder /usr/lib/libmorfeusz* /usr/lib/
RUN wget -O morf 'https://nextcloud.clarin-pl.eu/index.php/s/VVIvx4w20azcWbp/download' && \
dpkg -i ./morf && \
git clone https://github.com/gkubon/Polem && \
RUN git clone https://gitlab.clarin-pl.eu/analysers/Polem && \
mkdir -p Polem/build && \
cd Polem/build && \
cmake .. && \
......
[service]
tool = polem
tool = polem_test
rabbit_host = 10.17.0.85
rabbit_user = clarin
rabbit_password = clarin123
......
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