Skip to content

Instantly share code, notes, and snippets.

@sushain97
Last active April 27, 2018 01:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sushain97/4248b380acbf34af109b1916704a5292 to your computer and use it in GitHub Desktop.
Save sushain97/4248b380acbf34af109b1916704a5292 to your computer and use it in GitHub Desktop.
apertium-docker
FROM debian:jessie-slim
LABEL maintainer sushain@skc.name
ENV LANG C.UTF-8
RUN apt-get -qq update && apt-get -qq install apt-utils wget
ADD https://apertium.projectjj.com/apt/install-nightly.sh .
RUN bash install-nightly.sh
RUN apt-get -qq update && apt-get -qq install \
build-essential \
automake \
pkg-config \
gawk \
libtool \
apertium-all-dev \
apertium-en-es
ENTRYPOINT ["apertium"]
CMD ["en-es"]
#!/bin/sh
docker build -t apertium .
echo "hello" | docker run -i apertium
@TinoDidriksen
Copy link

Line 5, add apt-utils. Otherwise, looks good. A bit odd to install things to root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment