Skip to content

Sarge images do not work on arm64 host #3

@gaborcsardi

Description

@gaborcsardi

Calling linux32 does not work, apparently. But also, it does not seem to be needed?

❯ docker run -ti  --platform linux/i386 ghcr.io/r-hub/evercran/1.9.1:latest bash
Cannot set 8 personality: Invalid argument
❯ docker run -ti  --platform linux/i386 --entrypoint bash ghcr.io/r-hub/evercran/1.9.1:latest
ddcae71e20bc:~# arch
i686
ddcae71e20bc:~# R
...
> version
         _
platform i686-pc-linux-gnu
arch     i686
os       linux-gnu
system   i686, linux-gnu
status
major    1
minor    9.1
year     2004
month    06
day      21
language R

EDIT: on x86_64 we do need linux32 as the entry point, though:

❯ docker run -ti  --platform linux/i386 --entrypoint bash ghcr.io/r-hub/evercran/1.9.1:latest
881072a1ccd3:~# arch
x86_64

So we should call linux32 on x86_64 hosts, but not on aarch64 hosts. Or rather, if arch is x86_64 then we should call it, otherwise not. Maybe we can do this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviordocumentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions