From 0d75bf74bffbc537aeda6abfe4d75728e481d5a6 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Wed, 11 Oct 2023 21:33:44 +0200 Subject: [PATCH] Add information on MiKTeX Docker image --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index e418497..a5d1a5f 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,21 @@ This repository demonstrates using MiKTeX in a CI, Windows, Linux, and inside Do The original idea was to illustrate issues with MiKTeX on Linux. They are all solved now and the project evolved to a playground for general MiKTeX usage on a CI. +## MiKTeX docker image + +A MiKTeX docker image was build, because of [mitkex#1370](https://github.com/MiKTeX/miktex/issues/1370). +In October 2023, there was an update to the [MiKTeX Docker image](https://github.com/MiKTeX/docker-miktex/tree/master) with following run recommendation: + + docker run -ti -v miktex:/var/lib/miktex -v `pwd`:/miktex/work -e MIKTEX_UID=`id -u` miktex/miktex:essential pdflatex sample2e.tex + +The main difference is that the mwe-miktex Dockerfile + +- additionally installs `cm-super` +- Exectues following commands + - `RUN miktex --verbose fontmaps configure` + - `RUN miktex --verbose fndb refresh` + - `RUN initexmf --admin --verbose --update-fndb` + ## Development hints Run MiKTeX on Linux with [act](https://github.com/nektos/act):