[NTG-context] Containerized ConTeXt

Leah Neukirchen leah at vuxu.org
Wed Dec 14 14:15:56 CET 2022

Thangalin via ntg-context <ntg-context at ntg.nl> writes:

> Thoughts? Suggestions for improvement?

If you are looking for technical suggestions, every RUN line will
create a layer even if you delete files later.  I'd suggest making the
final image by copying the root directory of a multistage container,
e.g. https://adriancitu.com/2022/03/11/7-ways-to-build-lighter-linux-containers/

Alternatively, do all the steps before installing ConTeXt in a
multistage container, and run all shell commands that install ConTeXt
in one action, then you get two layers and the lower one only changes
if a font changes (or alpine:latest).

Leah Neukirchen  <leah at vuxu.org>  https://leahneukirchen.org/

More information about the ntg-context mailing list