Unikernel to serve static website
These are the files needed to generate a mirage unikernel from a Jekyll
static site. The content of the *.ml files are taken from the
mirage_skeleton repository, specifically, the
There are only minor tweaks to point to the
_site folder where Jekyll puts
its generated output. As such, these files should work with any Jekyll site.
Travis CI is used to build the unikernel and push it into another repo
for downstream deployment. The
.travis.yml file in the root of this repo
tells Travis what to do, which is essentially to run the
in this folder.
Since these files are copy/pasted from another repo, the following links should help to check if things have been updated upstream
Latest versions are:
Original README content
Put static files into the htdocs/ directory.
For a Xen DHCP kernel, do:
$ env DHCP=true mirage configure --xen $ make $ make run
www.xl to add a VIF, e.g. via:
vif = ['bridge=xenbr0']
And then run the VM via
xl create -c www.xl