HaxeFoundation / docker-library-haxe

Docker official image for Haxe
https://hub.docker.com/_/haxe/
MIT License
28 stars 8 forks source link

Unable to locate package ocaml-native-compilers #3

Closed longquan7 closed 6 years ago

longquan7 commented 7 years ago

I want to build this 3.4/Dockerfile on arm64, but when it run step 8-->ocaml-native-compilers,there is a problem. So I want to know this image whether or not support arm64 .

longquan7 commented 7 years ago

I think haxe is not support arm64,because I was found that ocaml-native-compilers is not support arm64 architecture at this https://packages.debian.org/jessie/ocaml-native-compilers

andyli commented 7 years ago

Haxe works on arm64. It's just a build issue.

You may try base on the stretch image (instead of jessie), which contains arm64 ocaml-native-compilers.

Another (slightly more complex) way would be changing make OCAMLOPT=ocamlopt.opt to just make. In this case, ocaml-native-compilers can be removed, and ocaml probably should be moved from buildDeps to runtime dependencies.

longquan7 commented 7 years ago

@andyli I'm trying to build ,thanks

andyli commented 6 years ago

I've enabled arm64v8 for stretch and alpine variants.