On 10 June 2015 at 07:50, Gareth Rushgrove <[email protected]> wrote:
>> I made a native Musl OCaml build that you can use with
>> docker run -i -t justincormack/alpine-pkgsrc-ocaml /bin/sh
>>
>
> Awesome, do publish how when you get a moment.

It is a pkgsrc bootstrap and build from source on top of Alpine Linux - see
https://github.com/justincormack/alpine-pkgsrc/blob/master/Dockerfile
https://github.com/justincormack/alpine-pkgsrc-ocaml/blob/master/Dockerfile
as pkgsrc has good portable OCaml support. I am planning to build
binary packages from it too at some point.

If you want to experiment with static builds in that container you can do
opam repository add justin https://github.com/justincormack/opam-repository.git
opam switch 4.01.0+static
eval `opam config env`
opam install mirage

Justin

_______________________________________________
MirageOS-devel mailing list
[email protected]
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel

Reply via email to