I'd like to run ConTeXt on Alpine Linux (ultimately, to run it on an iPad with the iSH app). I am currently testing it with Docker. This is what I have done: docker pull econcz/x86-alpine-glibc:ish-import docker run -it econcz/x86-alpine-glibc:ish-import /bin/sh cp /etc/apk/repositories /tmp/repositories cat /etc/os-release ALPINE_VERSION=3.12 # Set accordingly to previous command echo "http://nl.alpinelinux.org/alpine/v${ALPINE_VERSION}/main/" | tee /etc/apk/repositories echo "http://nl.alpinelinux.org/alpine/v${ALPINE_VERSION}/community/" | tee -a /etc/apk/repositories apk update This installs and configures repos for Alpine Linux 3.12. Then, I install TeX Live as follows: apk add texlive-full texlive-xetex texlive-luatex texlive-dev apk add ghostscript ghostscript-fonts ghostscript-dev apk add graphicsmagick graphicsmagick-dev Then, I run `mtxrun --generate`, which exits instantly with the output reported below. However, that is apparently not enough. I still get: $ context Hello-world.tex mtxrun | unknown script 'context.lua' or 'mtx-context.lua' $ context --version mtxrun | unknown script 'context.lua' or 'mtx-context.lua' $ mtxrun --version mtxrun | ConTeXt TDS Runner Tool 1.32 mtxrun | source path $ mtxrun --script context mtxrun | unknown script 'context.lua' or 'mtx-context.lua' $ luatools --generate mtxrun | unknown script 'base.lua' or 'mtx-base.lua' $ find / -name context.lua /usr/share/texmf-dist/scripts/context/lua/context.lua $ find / -name mtx-context.lua /usr/share/texmf-dist/scripts/context/lua/mtx-context.lua $ find / -name base.lua [Nothing found] $ find / -name mtx-base.lua /usr/share/texmf-dist/scripts/context/lua/mtx-base.lua Anyone running ConTeXt on Alpine? Any idea what is wrong? Nicola
mtxrun --generate resolvers | resolving | variable 'SELFAUTOLOC' set to '/usr/bin' resolvers | resolving | variable 'SELFAUTODIR' set to '/usr' resolvers | resolving | variable 'SELFAUTOPARENT' set to '.' resolvers | resolving | variable 'TEXMFCNF' set to '' resolvers | resolving | variable 'TEXMF' set to '' resolvers | resolving | variable 'TEXOS' set to 'usr' resolvers | resolving | resolvers | resolving | using configuration specification 'home:texmf/web2c;{selfautoloc:,selfautoloc:/share/texmf-local/web2c,selfautoloc:/share/texmf-dist/web2c,selfautoloc:/share/texmf/web2c,selfautoloc:/texmf-local/web2c,selfautoloc:/texmf-dist/web2c,selfautoloc:/texmf/web2c,selfautodir:,selfautodir:/share/texmf-local/web2c,selfautodir:/share/texmf-dist/web2c,selfautodir:/share/texmf/web2c,selfautodir:/texmf-local/web2c,selfautodir:/texmf-dist/web2c,selfautodir:/texmf/web2c,$SELFAUTOGRANDPARENT/texmf-local/web2c,selfautoparent:,selfautoparent:/share/texmf-local/web2c,selfautoparent:/share/texmf-dist/web2c,selfautoparent:/share/texmf/web2c,selfautoparent:/texmf-local/web2c,selfautoparent:/texmf-dist/web2c,selfautoparent:/texmf/web2c}' resolvers | resolving | resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/root/texmf/web2c' from specification 'home:texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on weird path '/usr/bin' from specification 'selfautoloc:' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/bin/share/texmf-local/web2c' from specification 'selfautoloc:/share/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/bin/share/texmf-dist/web2c' from specification 'selfautoloc:/share/texmf-dist/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/bin/share/texmf/web2c' from specification 'selfautoloc:/share/texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/bin/texmf-local/web2c' from specification 'selfautoloc:/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/bin/texmf-dist/web2c' from specification 'selfautoloc:/texmf-dist/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/bin/texmf/web2c' from specification 'selfautoloc:/texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on weird path '/usr' from specification 'selfautodir:' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/share/texmf-local/web2c' from specification 'selfautodir:/share/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/share/texmf-dist/web2c' from specification 'selfautodir:/share/texmf-dist/web2c' resolvers | resolving | found regular configuration file '/usr/share/texmf-dist/web2c/texmfcnf.lua' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/share/texmf/web2c' from specification 'selfautodir:/share/texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/texmf-local/web2c' from specification 'selfautodir:/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/texmf-dist/web2c' from specification 'selfautodir:/texmf-dist/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '/usr/texmf/web2c' from specification 'selfautodir:/texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path '$SELFAUTOGRANDPARENT/texmf-local/web2c' from specification '$SELFAUTOGRANDPARENT/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on weird path '.' from specification 'selfautoparent:' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path './share/texmf-local/web2c' from specification 'selfautoparent:/share/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path './share/texmf-dist/web2c' from specification 'selfautoparent:/share/texmf-dist/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path './share/texmf/web2c' from specification 'selfautoparent:/share/texmf/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path './texmf-local/web2c' from specification 'selfautoparent:/texmf-local/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path './texmf-dist/web2c' from specification 'selfautoparent:/texmf-dist/web2c' resolvers | resolving | looking for regular 'texmfcnf.lua' on given path './texmf/web2c' from specification 'selfautoparent:/texmf/web2c' resolvers | resolving | resolvers | resolving | loading configuration file 'selfautodir:/share/texmf-dist/web2c/texmfcnf.lua' resolvers | resolving | resolvers | resolving | locating list of 'home:.texlive2020/texmf-config' (runtime) (tree:///home:.texlive2020/texmf-config) resolvers | methods | resolving, method 'locators', how 'uri', handler 'tree', argument 'tree:///home:.texlive2020/texmf-config' resolvers | trees | locator 'home:.texlive2020/texmf-config' not found resolvers | resolving | locating list of 'home:texmf' (runtime) (tree:///home:texmf) resolvers | methods | resolving, method 'locators', how 'uri', handler 'tree', argument 'tree:///home:texmf' resolvers | trees | locator 'home:texmf' not found resolvers | resolving | locating list of 'selfautoparent:texmf-config' (cached) resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-config' resolvers | files | file locator 'selfautoparent:texmf-config' not found resolvers | resolving | locating list of 'selfautoparent:texmf-var' (cached) resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-var' resolvers | files | file locator 'selfautoparent:texmf-var' not found resolvers | resolving | locating list of 'selfautoparent:texmf-project' (cached) resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-project' resolvers | files | file locator 'selfautoparent:texmf-project' not found resolvers | resolving | locating list of 'selfautoparent:texmf-fonts' (cached) resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-fonts' resolvers | files | file locator 'selfautoparent:texmf-fonts' not found resolvers | resolving | locating list of '.' (cached) resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument '.' resolvers | files | file locator '.' found as '.' resolvers | resolving | hash '.' appended resolvers | resolving | locating list of 'selfautoparent:texmf-dist' (cached) resolvers | methods | resolving, method 'locators', how 'uri', handler 'file', argument 'selfautoparent:texmf-dist' resolvers | files | file locator 'selfautoparent:texmf-dist' not found resolvers | resolving | resolvers | methods | resolving, method 'generators', how 'uri', handler 'file', argument '.' resolvers | expansions | scanning path '.', branch '.' resolvers | expansions | 305 files found on 22 directories with 39 uppercase remappings resolvers | resolving | resolvers | resolving | saving tree '.' resolvers | caches | hashing tree '.', hash '5058f1af8388633f609cadb75a75dc9d' resolvers | caches | hashing tree 'selfautodir:/share/texmf-dist/web2c/texmfcnf.lua', hash '0399a8df3aef8d154781d0a9c2b8e28d' resolvers | caching | preparing 'files' for '.' resolvers | caching | category 'files', cachename '.' saved in '/root/.texlive2020/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5058f1af8388633f609cadb75a75dc9d.lua' system | lua | compiling '/root/.texlive2020/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5058f1af8388633f609cadb75a75dc9d.lua' into '/root/.texlive2020/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5058f1af8388633f609cadb75a75dc9d.luc' system | lua | dumping '/root/.texlive2020/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5058f1af8388633f609cadb75a75dc9d.lua' into '/root/.texlive2020/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5058f1af8388633f609cadb75a75dc9d.luc' stripped resolvers | caching | 'files' compiled to '/root/.texlive2020/texmf-var/luatex-cache/context/0399a8df3aef8d154781d0a9c2b8e28d/trees/5058f1af8388633f609cadb75a75dc9d.luc' mtxrun | mtxrun | elapsed lua time: 0.056 seconds