Skip to content

Instantly share code, notes, and snippets.

@lilianmoraru
Last active February 2, 2016 17:35
Show Gist options
  • Save lilianmoraru/10cb8fd12b3f582f5d79 to your computer and use it in GitHub Desktop.
Save lilianmoraru/10cb8fd12b3f582f5d79 to your computer and use it in GitHub Desktop.
containers:
ubuntu:
setup:
- !Ubuntu trusty
- !UbuntuUniverse
- !Env
HOME: /root
- !Install [git, ca-certificates, curl, gcc, g++, cmake,
build-essential, autoconf2.13, libcap-dev,
autoconf-archive, libtool, pkg-config, automake,
flex, bison, libkrb5-dev, libsasl2-dev, libnuma-dev,
libssl-dev, gperf, libevent-dev, libboost-all-dev,
libjemalloc-dev, libsnappy-dev, wget, unzip,
cmake-data, libarchive13, liblzo2-2, libnettle4,
libgflags-dev, libgflags2, libgoogle-glog0,
libunwind8, libdouble-conversion1, libgoogle-glog-dev,
libdouble-conversion-dev, autotools-dev]
- !Sh |
rm -rf proxygen rotor
git clone --recursive https://github.com/facebook/proxygen.git
git clone --recursive https://github.com/tailhook/rotor.git
curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sed 's/run "$@"/run "$@" --yes/' | sh
commands:
ubuntu: !Command
container: ubuntu
write-mode: transient-hard-link-copy
environ: { HOME: /root }
run: |
apt-get update
proxygen/proxygen/deps.sh
cd rotor
cargo build --release
cd ..
/bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment