14 Dec
2022
14 Dec
'22
1:15 p.m.
Thangalin via ntg-context
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