> On 1 May 2021, at 21:35, Nicola <nvitacolo...@gmail.com> wrote:
> 
> On 2021-05-01, Bruce Horrocks <n...@scorecrow.com> wrote:
>>> On 30 Apr 2021, at 19:53, Nicola <nvitacolo...@gmail.com> wrote:
>>> 
>>> 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
>> 
>> Why is your first line not
>> 
>>  $ docker pull alpine
> 
> I was following the documentation of iSH, which is where I want to use
> the container eventually. But I may probably use the alpine image as
> well, which is more up to date and allows me to install TeX Live 2020.
> 
>> I would start with that then test each new step at the interactive
>> shell before adding to the compose file and moving onto the next step.
> 
> Unfortunately, even with the image above I get the same errors.

Sorry for the late reply - I missed this in the thread.

You're not going to be able to get the Docker container to run on the iPad if 
that's what you were ultimately hoping. This is because of the different 
processor types used by most PCs versus the iPad. As far as I know there is no 
way to get Docker installed on a PC to cross-compile for the ARM architecture 
of an iPad; and even if you could, the resulting image would have to be 
cryptographically signed by a registered Apple developer and then signed by 
Apple or it won't run. The iSH documentation that I briefly looked at used a 
'side-load' technique i.e. relied on what's called a 'jailbroken' iPad. This 
invalidates your warranty yadda yadda and you don't really want to go there 
except perhaps for the intellectual exercise.

The next best alternative would be to run TeX Live plus LMTX on a PC and 
connect to it remotely using the iPad. This could be via a text-only terminal 
app or a remote desktop app.

The remote PC that you connect to could be yours at home (cheap but carries a 
security risk unless you know what you're doing) or in the cloud (requires a 
subscription but the security is less of an issue since you build the machine 
to be disposable on the assumption that hackers will get to it).

Either way, I don't think Docker is the first choice solution (unless, perhaps, 
you have a home NAS that supports Docker - yet another option).

If you still want to build a Docker container then please say so - as I'm sure 
it could be done.

—
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 / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to