mirror of
https://github.com/golang/go
synced 2024-11-18 23:44:43 -07:00
39a2d013be
Change-Id: I7d5dc5f7510641d2976f2ea6acf0d52cb10b94e8 Reviewed-on: https://go-review.googlesource.com/3266 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
14 lines
357 B
Docker
14 lines
357 B
Docker
FROM golang:1.4.1
|
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y -q build-essential git
|
|
|
|
# golang puts its go install here (weird but true)
|
|
ENV GOROOT_BOOTSTRAP /usr/src/go
|
|
|
|
# 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
|