mirror of
https://github.com/golang/go
synced 2024-11-18 13:34:41 -07:00
53006ac4c2
Change-Id: I7b219a991df4f71d068b62a22f69acb123ac31f0 Reviewed-on: https://go-review.googlesource.com/22367 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
14 lines
341 B
Docker
14 lines
341 B
Docker
FROM golang:1.6
|
|
|
|
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/local/go
|
|
|
|
# golang sets GOPATH=/go
|
|
ADD . /go/src/tip
|
|
RUN go install tip
|
|
ENTRYPOINT ["/go/bin/tip"]
|
|
# Kubernetes expects us to listen on port 8080
|
|
EXPOSE 8080
|