└── goplay └── Dockerfile /goplay/Dockerfile: -------------------------------------------------------------------------------- 1 | # GoPlay, A Tour of Go 2 | 3 | # VERSION 0.1 4 | # DOCKER-VERSION 0.4.8 5 | 6 | FROM base:ubuntu-12.10 7 | MAINTAINER Victor Vieux 8 | 9 | RUN apt-get update 10 | RUN apt-get install mercurial build-essential -y 11 | RUN hg clone -u release https://code.google.com/p/go 12 | RUN cd go/src && ./make.bash 13 | RUN ln -s /go/bin/go /bin/go 14 | CMD go run go/misc/goplay/goplay.go -http="0.0.0.0:3999" 15 | EXPOSE 8080:3999 16 | --------------------------------------------------------------------------------