mirror of
https://github.com/golang/go
synced 2024-11-19 01:04:40 -07:00
75337c43b3
Change-Id: I54a98340ec2e5d54c2ca27b869c7f38b7cbfe2d7 Reviewed-on: https://go-review.googlesource.com/2536 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
11 lines
266 B
Docker
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
|