> On 10 Apr 2025, at 13:14, Marco Riggirello <marco.riggirello...@gmail.com> 
> wrote:
> 
> installing modules into the docker image is not possible since the curl 
> command is not part of the image. If I run
> $ docker run --rm --entrypoint "" contextgarden/context:lmtx /bin/sh -c "cd 
> /context/tex/ && mtxrun --script install-module --install filter"

Hi Marco,

I don't know who produces the contextgarden/context:lmtx build (presumably it's 
now part of the build farm?) but according to 
<https://hub.docker.com/r/contextgarden/context> it is supposed to have all 
modules already installed.

However, running 

 $ docker run --rm --entrypoint "" contextgarden/context:lmtx /bin/sh -c "cd 
/context/tex && mtxrun --script install-modules --installed"

suggests that there aren't any installed. So maybe Hans could prod whoever 
supports the build farm to look into it?

In the meantime, if you build your own container image using the Dockerfile on 
the Wiki 
<https://wiki.contextgarden.net/Installing_ConTeXt_LMTX_into_a_Docker_container>
 it is easy to include 'curl' - just add it after 'unzip' - however that 
doesn't seem to fix your problem since:

$ docker build -t context .
$ docker run --rm --entrypoint "" context /bin/sh -c "cd /opt/context/tex/ && 
mtxrun --script install-module --install filter"

appears to do something and there is no obvious error message in the visible 
output, but

$ docker run --rm --entrypoint "" context /bin/sh -c "cd /opt/context/tex && 
mtxrun --script install-modules --installed"

shows that the filter module still wasn't installed.

Sorry I can't help you any further right now - I'm not familiar enough with the 
install script to be able to quickly zero in on the problem

Regards,


—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to