1
0
mirror of https://github.com/golang/go synced 2024-11-06 04:16:11 -07:00
go/cmd/tipgodoc/Dockerfile
Andrew Gerrand 75337c43b3 cmd/tipgodoc: fix some nits
Change-Id: I54a98340ec2e5d54c2ca27b869c7f38b7cbfe2d7
Reviewed-on: https://go-review.googlesource.com/2536
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2015-01-09 00:28:10 +00:00

11 lines
266 B
Docker

FROM golang
RUN apt-get update && apt-get install --no-install-recommends -y -q build-essential git
# golang sets GOPATH=/go
ADD . /go/src/tipgodoc
RUN go install tipgodoc
ENTRYPOINT ["/go/bin/tipgodoc"]
# Kubernetes expects us to listen on port 8080
EXPOSE 8080