blob: a05410f02994fca1efbebf3901933f900c56c92a [file] [log] [blame]
FROM debian:jessie
LABEL maintainer="Liblouis Maintainers <liblouis-liblouisxml@freelists.org>"
# Fetch build dependencies
RUN apt-get update && apt-get install -y \
autoconf \
automake \
curl \
libtool \
libyaml-dev \
make \
pkg-config \
python \
texinfo \
&& rm -rf /var/lib/apt/lists/*
# compile and install liblouis
ADD . /usr/src/liblouis
WORKDIR /usr/src/liblouis
RUN ./autogen.sh && ./configure --enable-ucs4 && make && make install && ldconfig
# install python bindings
WORKDIR /usr/src/liblouis/python
RUN python setup.py install
# clean up
WORKDIR /root
RUN rm -rf /usr/src/liblouis