Skip to content

Instantly share code, notes, and snippets.

@DewaldDeJager DewaldDeJager/Dockerfile
Last active Jan 4, 2019

Embed
What would you like to do?
OpenFst Dockerfile

OpenFst Dockerfile

Usage

  1. Copy the Dockerfile to the openfst source directory
  2. Update the version number on the first line to the version of GCC you wish to use
  3. Run docker build -t openfst . in the same directory as the Dockerfile

Note: You will need to be logged in to Docker Hub using docker login to pull the official GCC image

FROM gcc:7.4
COPY . /usr/src/openfst
WORKDIR /usr/src/openfst
RUN ./configure --enable-static --enable-shared --enable-far --enable-lookahead-fsts --enable-const-fsts --enable-pdt --enable-ngram-fsts --enable-linear-fsts --prefix=/usr
RUN make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.