mirror of https://github.com/docker/docs.git
Install websocket library before building docker
This commit is contained in:
parent
940d58806c
commit
def9598ed9
|
|
@ -22,6 +22,9 @@ run echo 'deb http://archive.ubuntu.com/ubuntu precise main universe' > /etc/apt
|
||||||
run apt-get update
|
run apt-get update
|
||||||
run apt-get install -y lxc
|
run apt-get install -y lxc
|
||||||
run apt-get install -y aufs-tools
|
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
|
# Upload docker source
|
||||||
add . /go/src/github.com/dotcloud/docker
|
add . /go/src/github.com/dotcloud/docker
|
||||||
# Build the binary
|
# Build the binary
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue