Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This allows to build a container that contains everything that is needed to build Bootlin training materials. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
- Loading branch information
1 parent
66c9049
commit 2232007
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Docker file to create a container with everything needed to build | ||
# Bootlin trainig materials | ||
# | ||
# Build the container (once): | ||
# | ||
# sudo docker build -t bootlin-training utils/docker | ||
# | ||
# Use the container: | ||
# | ||
# sudo docker run -u $(id -u):$(id -g) -v $(pwd):/training -it --rm bootlin-training make <target> | ||
# | ||
# Note: "docker run" must run from the top-level directory of the | ||
# training materials | ||
|
||
FROM fedora:34 | ||
|
||
LABEL maintainer="Bootlin <feedback@bootlin.com>" \ | ||
vendor="Bootlin" \ | ||
description="Container with everything needed to build Bootlin training materials" | ||
|
||
RUN dnf -y update && \ | ||
dnf -y install \ | ||
dia \ | ||
fakeroot \ | ||
ghostscript \ | ||
inkscape \ | ||
levien-inconsolata-fonts \ | ||
liberation-serif-fonts \ | ||
liberation-sans-fonts \ | ||
liberation-mono-fonts \ | ||
make \ | ||
python3-pygments \ | ||
rsync \ | ||
texlive-beamer \ | ||
texlive-environ \ | ||
texlive-epstopdf \ | ||
texlive-eurosym \ | ||
texlive-hyphenat \ | ||
texlive-inconsolata \ | ||
texlive-lstaddons \ | ||
texlive-mdframed \ | ||
texlive-moreverb \ | ||
texlive-overpic \ | ||
texlive-parskip \ | ||
texlive-texfot \ | ||
texlive-titling \ | ||
texlive-ulem \ | ||
texlive-upquote \ | ||
texlive-wrapfig \ | ||
texlive-xetex \ | ||
texlive-textpos \ | ||
texlive-makecell \ | ||
texlive-stmaryrd | ||
|
||
ENV HOME /tmp | ||
|
||
WORKDIR /training |