[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MirageOS-devel] Minimum requirements to run unix unikernel



On 10 June 2015 at 07:50, Gareth Rushgrove <gareth@xxxxxxxxxxxxxxxxx> 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
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.