Install websocket library before building docker

This commit is contained in:
Kawsar Saiyeed 2013-08-12 05:22:33 +01:00
Родитель 940d58806c
Коммит def9598ed9
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -22,6 +22,9 @@ run echo 'deb http://archive.ubuntu.com/ubuntu precise main universe' > /etc/apt
run apt-get update
run apt-get install -y lxc
run apt-get install -y aufs-tools
# Docker requires code.google.com/p/go.net/websocket
run apt-get install -y -q mercurial
run PKG=code.google.com/p/go.net REV=78ad7f42aa2e; hg clone https://$PKG /go/src/$PKG && cd /go/src/$PKG && hg checkout -r $REV
# Upload docker source
add . /go/src/github.com/dotcloud/docker
# Build the binary