Skip to content

Commit

Permalink
utils/docker: add Dockerfile
Browse files Browse the repository at this point in the history
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
tpetazzoni committed Oct 29, 2021
1 parent 66c9049 commit 2232007
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions utils/docker/Dockerfile
@@ -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

0 comments on commit 2232007

Please sign in to comment.