-
-
Notifications
You must be signed in to change notification settings - Fork 175
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (23 loc) · 580 Bytes
/
Dockerfile
File metadata and controls
31 lines (23 loc) · 580 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
31
FROM debian:bookworm-slim
LABEL maintainer="github.google-sre-ebook@captnemo.in"
ARG DEBIAN_FRONTEND="noninteractive"
WORKDIR /src
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
calibre \
file \
pandoc \
ruby \
ruby-dev \
lmodern \
texlive-fonts-recommended \
texlive-xetex \
wget \
zlib1g-dev \
&& gem install bundler --no-document \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY . /src/
RUN bundle install
ENTRYPOINT ["/src/generate.sh", "docker"]
VOLUME ["/output"]