forked from liblouis/liblouis
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
30 lines (25 loc) · 735 Bytes
/
Dockerfile
File metadata and controls
30 lines (25 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM debian:latest@sha256:f2150eba68619015058b26d50e47f9fba81213d1cb81633be7928c830f72d180
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 \
python3 \
python3-distutils \
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 python3 setup.py install
# clean up
WORKDIR /root
RUN rm -rf /usr/src/liblouis