Hi-

I'm distributing pre-built Node binaries for Rumprun. Initially I've made
v4.2.4 and v5.3.0 available for x86_64/hw_generic.

The binaries are distributed using dtuf (https://github.com/davedoesdev/dtuf
),
which in turn uses The Update Framework (TUF) and a Docker registry to do
the
heavy lifting. You don't need the Docker client installed on your computer.

Please find instructions for downloading the binaries below.
Bear in mind that my server is a $5 a month Digital Ocean job at the moment.
Depending on reception, I may consider beefing it up and distributing other
packages as well.

Any comments/opinions/feedback gratefully received!


# TUF uses the cryptography package so you need these tools first:
sudo apt-get install build-essential libssl-dev libffi-dev python-dev
python-pip

# Install dtuf. Make sure pip's ~/.local/bin directory is in your PATH.
pip install python-dtuf

# Point dtuf to my Docker registry
export DTUF_HOST=unikernel.teksilo.com:5000

# This is the public key for my Node repo. Normal due diligence applies.
pkey_url=
https://raw.githubusercontent.com/davedoesdev/dtuf-keys/master/unikernel.teksilo.com/teksilo/node/root_key.pub

# Download Node metadata
curl $pkey_url | dtuf pull-metadata teksilo/node -

# Download v4.2.4
dtuf pull-target teksilo/node 4.2.4-x86_64-rumprun-netbsd-hw_generic > node

# Run it
qemu-system-x86_64 -enable-kvm -m 160 -kernel node -append '{"cmdline":
"node"}'

Reply via email to