Skip to content

Instantly share code, notes, and snippets.

@om26er
Last active August 23, 2018 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save om26er/0f21362abcd8b90b3184cb9db561d6c2 to your computer and use it in GitHub Desktop.
Save om26er/0f21362abcd8b90b3184cb9db561d6c2 to your computer and use it in GitHub Desktop.
#!/bin/sh
set -x
TAG=v18.7.2
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt update
sudo apt install docker-ce qemu-user-static make python3-pip libssl-dev libffi-dev -y
sudo pip3 install -U crossbar
git clone https://github.com/crossbario/crossbar.git crossbar
git clone https://github.com/crossbario/autobahn-js-browser.git autobahn-js-built
cd crossbar
git checkout $TAG
source versions.sh
cd docker
make prepare
make qemu_deps
make autobahn
make build
make publish
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment