Skip to content

Commit 7cc26cc

Browse files
author
Lukáš Chmela
committed
Update the Docker container
Installed packages were updated and packages bzip2, calibre and inkscape required for gitbook export were installed.
1 parent d8dc05a commit 7cc26cc

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

Dockerfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,9 @@
1-
FROM lrx0014/gitbook:3.2.3
1+
FROM kyselejsyrecek/gitbook:3.2.3
22
COPY ./ /srv/gitbook/
33
EXPOSE 4000
4+
WORKDIR /srv/gitbook
5+
CMD ["sh", "-c", "/usr/local/bin/gitbook serve"]
46

5-
# Update sources.list for Debian Jessie.
6-
RUN rm /etc/apt/sources.list
7-
RUN echo "deb http://archive.debian.org/debian-security jessie/updates main" >> /etc/apt/sources.list.d/jessie.list
8-
RUN echo "deb http://archive.debian.org/debian jessie main" >> /etc/apt/sources.list.d/jessie.list
9-
RUN apt update
10-
RUN apt install -y --force-yes bzip2 calibre inkscape
11-
12-
# Run CommandBox shell with gitbook command available. (https://www.forgebox.io/view/gitbook-exporter)
137
# Examples:
148
#RUN gitbook pdf
159
#RUN gitbook epub

0 commit comments

Comments
 (0)