Linuxbits.io Blog

Just another Tech Blog

  • About

Recent Posts

  • Cheap Chinese ST-Link v.2 Programmer converted to Black Magic Probe Debugger
  • Note to self: How to build cAdvisor in a container
  • Resetting the USB Subsystem on Linux
  • Oneliner: fix brscan2 on Ubuntu 15.04+ for Brother USB Scanner/Printer Combo
  • Redundant Monitoring and Alerting

Recent Comments

  • Manuel on Cheap Chinese ST-Link v.2 Programmer converted to Black Magic Probe Debugger
  • John on Cheap Chinese ST-Link v.2 Programmer converted to Black Magic Probe Debugger
  • Manuel on Cheap STM32 Cortex M4 Development Board STM32F407
  • Manuel on Cheap STM32 Cortex M4 Development Board STM32F407
  • Manuel on Welcome and Intro

Archives

  • February 2016
  • January 2016
  • October 2015
  • September 2015

Categories

  • docker
  • golang
  • oneliner
  • robot
  • stm32
  • Uncategorized

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Month: January 2016

Note to self: How to build cAdvisor in a container

January 4, 2016 by manuel·0 Comments

Shell
1
2
3
4
5
mkdir -p $HOME/go/src/github.com/google/cadvisor
git clone https://github.com/google/cadvisor $HOME/go/src/github.com/google/cadvisor
wget https://github.com/tools/godep/releases/download/v45/godep_linux_amd64 -O $HOME/go/src/github.com/google/cadvisor/godep
chmod a+x $HOME/go/src/github.com/google/cadvisor/godep
docker run --rm  -v $HOME/go/src:/go/src -w /go/src/github.com/google/cadvisor golang:1.5.1 ./godep go build -a github.com/google/cadvisor

Proudly powered by WordPress. Theme: Flat 1.7.4 by Themeisle.