The project source comes with a dev
directory which contains a script for
building a rkt Ubuntu container with useful development tools.
To build this you must have a system with an installation of rkt and buildah. For macOS, the RktMachine project provides an xhyve-based VM running CoreOS with installations of rkt, buildah, docker2aci, and other useful container tools.
Build the container using the provided build script:
sudo ./dev-sketch-favicon.buildah.sh
This will make a dev-sketch-favicon.oci
in the directory. Convert this to
dev-sketch-favicon.aci
for installation into rkt:
docker2aci dev-sketch-favicon.oci mv dev-sketch-favicon-latest.aci dev-sketch-favicon.aci
Note
The conversion may require the docker2aci version from github.com/woofwoofinc/docker2aci which has support for recent OCI container formats generated by buildah.
Install this into rkt:
rkt --insecure-options=image fetch ./dev-sketch-favicon.aci
This container is intended for interactive use, so to run it with rkt use:
sudo rkt run \ --interactive \ --volume sketch-favicon,kind=host,source=$(pwd) \ dev-sketch-favicon \ --mount volume=sketch-favicon,target=/sketch-favicon
The current working directory is available on the container at
/sketch-favicon
.