mirror of
https://github.com/captn3m0/google-sre-ebook.git
synced 2024-09-10 13:46:41 +00:00
dcaaf336d1
Fixes #80
32 lines
580 B
Docker
32 lines
580 B
Docker
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"]
|