2026-07-20 19:44:35 +02:00
|
|
|
FROM debian:stable-slim
|
|
|
|
|
|
|
|
|
|
RUN apt-get update && apt-get upgrade && apt-get -y install asciidoctor pandoc bash
|
|
|
|
|
|
|
|
|
|
RUN groupadd --gid 1000 appgroup && \
|
|
|
|
|
useradd --uid 1000 --gid appgroup --shell /bin/bash --create-home appuser
|
|
|
|
|
|
2026-07-29 18:49:54 +02:00
|
|
|
RUN gem install asciidoctor-pdf
|
|
|
|
|
|
2026-07-20 19:44:35 +02:00
|
|
|
WORKDIR /workspace
|
|
|
|
|
|
|
|
|
|
ADD ./90_builder/templates templates
|
|
|
|
|
ADD ./90_builder/bookFold.sh ./
|
|
|
|
|
|
|
|
|
|
RUN chown -R appuser:appgroup /workspace
|
|
|
|
|
|
|
|
|
|
|
2026-07-20 20:37:09 +02:00
|
|
|
CMD ["/workspace/bookFold.sh"]
|