mirror of
https://github.com/hendricius/the-sourdough-framework
synced 2025-11-10 13:11:13 -06:00
20 lines
464 B
Docker
20 lines
464 B
Docker
FROM ghcr.io/xu-cheng/texlive-full
|
|
|
|
WORKDIR /root
|
|
|
|
RUN apk add make zip tidyhtml git sudo pandoc
|
|
RUN wget https://archive.org/download/kindlegen_linux_2_6_i386_v2_9/kindlegen_linux_2.6_i386_v2_9.tar.gz
|
|
RUN tar xzf kindlegen_linux_2.6_i386_v2_9.tar.gz
|
|
RUN mv kindlegen /usr/bin
|
|
RUN git clone https://github.com/michal-h21/tex4ebook.git
|
|
WORKDIR /root/tex4ebook
|
|
RUN make
|
|
RUN make install
|
|
WORKDIR /root
|
|
|
|
WORKDIR /opt/the-sourdough-framework
|
|
|
|
COPY . .
|
|
|
|
CMD ["/bin/sh"]
|