How to build rancheros

Hi all, I was trying to follow this document to http://docs.rancher.com/os/contributing/ to build RancherOS on my machine.
But I hit on error right away:

./build.sh --dev
./build.sh: line 13: dapper: command not found

I google Internet and find no clue how to install dapper on my machine. I have run RancherOS 0.4.2 with ubuntu-console as my build machine. What I am missing here? Please help!

OK, I could answer myself. The docs seems out of date. The command dapper is provided by rancher as well. Before you build, you actually need to follow this document https://github.com/rancher/dapper to install dapper.
Btw, there is a minor error in that dapper document as well. The right command should be:

sudo -i
curl -L https://github.com/rancher/dapper/releases/download/v0.1.0/dapper-uname -s-uname -m > /usr/local/bin/dapper
chmod +x /usr/local/bin/dapper

Sorry about that we will try to update the docs. The correct commands are

curl -sL https://releases.rancher.com/dapper/latest/dapper-`uname -s`-`uname -m` > /usr/local/bin/dapper
chmod +x /usr/local/bin/dapper

We’ve updated the docs on OS on how to build to include dapper as well as updated the readme to the correct command.

1 Like