summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkira Yokosawa <akiyks@gmail.com>2023-06-15 18:52:31 +0900
committerPaul E. McKenney <paulmck@kernel.org>2023-06-15 09:25:34 -0700
commit0dd461d54cbcc7efbed8b98d0c61d61d0f4e66a2 (patch)
tree0349fc5fcc32dbea3921fe31df3e8b2fedd1fd02
parent9ab579cbca4990674f3d77c0af862e1efbc3ec56 (diff)
downloadperfbook-0dd461d54cbcc7efbed8b98d0c61d61d0f4e66a2.tar.gz
docker/Dockerfile.fedora: Stay with Fedora 37 for the moment
Inkscape of Fedora 38 has a regression in font markup corruption in SVG --> PDF conversion. Stay with Fedora 37 by Using an ARG variable "rel" with its value of 37. Add poppler-utils package for the pdffonts command to see font markup in PDF properties. Signed-off-by: Akira Yokosawa <akiyks@gmail.com> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
-rw-r--r--docker/Dockerfile.fedora11
1 files changed, 9 insertions, 2 deletions
diff --git a/docker/Dockerfile.fedora b/docker/Dockerfile.fedora
index fdfbdc34..9b5ed544 100644
--- a/docker/Dockerfile.fedora
+++ b/docker/Dockerfile.fedora
@@ -1,8 +1,15 @@
-FROM fedora:latest
+# As of June 2023, Inkscape of Fedora 38 has a regression of font markup
+# corruption.
+# Stay with Fedora 37 for the moment.
+# You can override "rel" by saying:
+# docker build -t <tag> --build-arg rel=latest -f Dockerfile.fedora .
+#
+ARG rel=37
+FROM fedora:$rel
RUN dnf -y update && dnf install -y --setopt=tsflags=nodocs \
fig2ps graphviz inkscape make git vim nano gnuplot-minimal groff time \
- liberation-fonts dejavu-fonts-all \
+ liberation-fonts dejavu-fonts-all poppler-utils \
texlive-collection-plaingeneric texlive-collection-binextra \
texlive-collection-latexextra texlive-epstopdf texlive-fontools \
texlive-newtx texlive-newtxtt texlive-nimbus15 texlive-courier-scaled \