Skip to content

Does not build when targeting Mac silicon #87

@G1itcher

Description

@G1itcher

Describe the bug
Looks like the Install4j script does not support mac sillicon. Get this error when building:

 => [setup  7/17] RUN sha256sum --check ./ibgateway-10.19.1j-standalone-linux-x64.sh.sha256                                 2.9s
 => [setup  8/17] RUN chmod a+x ./ibgateway-10.19.1j-standalone-linux-x64.sh                                                0.9s
 => ERROR [setup  9/17] RUN ./ibgateway-10.19.1j-standalone-linux-x64.sh -q -dir /root/Jts/ibgateway/10.19.1j               6.8s
------
 > [setup  9/17] RUN ./ibgateway-10.19.1j-standalone-linux-x64.sh -q -dir /root/Jts/ibgateway/10.19.1j:
#15 2.560 Unpacking JRE ...
#15 6.743 Error unpacking jar files. The architecture or bitness (32/64)
#15 6.743 of the bundled JVM might not match your machine.

To Reproduce

docker build --platform linux/arm64/v8 . -t ib-gateway-local

Expected behavior
It should build

Container logs
NA

Versions (please complete the following information):

  • OS: Ubuntu Via WSL2 targeting linux/arm64/v8
  • Docker version: 20.10.11, build dea9396
  • Image Tag (docker --version): building stable
  • Image Digest (docker images --digests): NA

Additional context
If you could upload your images supported Mac silicon that would be ideal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions