Created
April 13, 2017 14:33
-
-
Save kolotaev/e5b1f89bff1851d931e9b87b7732caff to your computer and use it in GitHub Desktop.
trpl-ebook Dockerfile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Docker image for trpl-ebook 'The Rust Programming Language' as EBook project. | |
# All you need to do is copy this file and build docker image from it and run command cargo run --release in container. | |
FROM scorpil/rust:1.12 | |
RUN apt-get update && \ | |
apt-get install --yes --no-install-recommends \ | |
git \ | |
ca-certificates \ | |
inotify-tools \ | |
lmodern \ | |
make \ | |
pandoc \ | |
texlive-fonts-recommended \ | |
texlive-generic-recommended \ | |
texlive-lang-english \ | |
texlive-xetex \ | |
wget \ | |
xzdec \ | |
fonts-dejavu && \ | |
apt-get autoclean && apt-get --purge --yes autoremove && \ | |
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | |
RUN tlmgr init-usertree && \ | |
tlmgr option repository ftp://tug.org/historic/systems/texlive/2015/tlnet-final && \ | |
tlmgr update --all && \ | |
tlmgr install framed \ | |
hyphenat \ | |
quotchap \ | |
ollection-fontsrecommended \ | |
mathspec \ | |
euenc \ | |
xltxtra \ | |
xecjk \ | |
fancyhdr | |
RUN git clone https://github.com/killercup/trpl-ebook.git | |
WORKDIR /rust/trpl-ebook |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment