Skip to content

Commit

Permalink
Switch Docker HFST to use version from repos
Browse files Browse the repository at this point in the history
  • Loading branch information
frankier committed May 14, 2020
1 parent a219a59 commit 8c31b71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
13 changes: 2 additions & 11 deletions docker/Dockerfile.debian
Expand Up @@ -11,8 +11,8 @@ RUN apt-get update && apt-get install -y \
python3-dev python3.7-dev build-essential libffi-dev \
# Build requirements for HFST + Omorfi
git autoconf automake libtool file zip \
# Build requirements for HFST
flex bison libglib2.0-0 libglib2.0-dev swig \
# HFST
hfst libhfst libhfst-dev python3-libhfst \
# Build requirements for FinnPOS
clang wget \
&& rm -rf /var/lib/apt/lists/*
Expand All @@ -23,15 +23,6 @@ RUN pip3 install pipenv
# Fixup Python
RUN ln -sf /usr/bin/python3.7 /usr/bin/python

# Install HFST
COPY docker/install-hfst.sh /install-hfst.sh
RUN ./install-hfst.sh python
RUN rm -rf /hfst
RUN ldconfig

# Build requirements for Omorfi
#RUN pip3 install hfst

# Install Omorfi
COPY docker/install-omorfi.sh /install-omorfi.sh
RUN ./install-omorfi.sh
Expand Down
13 changes: 0 additions & 13 deletions docker/install-hfst.sh

This file was deleted.

0 comments on commit 8c31b71

Please sign in to comment.