-
Notifications
You must be signed in to change notification settings - Fork 27
/
Dockerfile
23 lines (15 loc) · 662 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ubuntu:focal
# Tool to convert a PDF file (myfile.pdf) to a fixed layout ePub file (myfile.epub).
# By Eric Dodémont ([email protected])
# Belgium, July-August 2020
MAINTAINER Eric Dodemont <[email protected]>
ENV DEBIAN_FRONTEND=noninteractive
RUN apt -q update && apt -q -y upgrade
# Fixed layout ePub: install pdf2htmlEX and some other packages
RUN echo "deb [trusted=yes] https://repository.dodeeric.be/apt/ /" > /etc/apt/sources.list.d/dodeeric.list
RUN apt -q -y install ca-certificates
RUN apt -q update && apt -q -y install pdf2htmlex poppler-utils bc zip file
# Bash script
COPY ./pdf2epubEX /bin
RUN mkdir /temp
WORKDIR /temp