[bootlin/training-materials updates] master: utils/docker: add Dockerfile (a8e78b80)
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun Aug 8 18:17:08 CEST 2021
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/a8e78b803aaea9adc63052f26a2aee10e0f84ec7
>---------------------------------------------------------------
commit a8e78b803aaea9adc63052f26a2aee10e0f84ec7
Author: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
Date: Sat Aug 7 11:54:35 2021 +0200
utils/docker: add Dockerfile
This allows to build a container that contains everything that is
needed to build Bootlin training materials.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
>---------------------------------------------------------------
a8e78b803aaea9adc63052f26a2aee10e0f84ec7
utils/docker/Dockerfile | 57 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/utils/docker/Dockerfile b/utils/docker/Dockerfile
new file mode 100644
index 00000000..6578248e
--- /dev/null
+++ b/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 at 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
More information about the training-materials-updates
mailing list