2016-04-21 21:40:43 -06:00
|
|
|
FROM golang:1.6
|
2014-12-17 21:40:08 -07:00
|
|
|
|
2015-01-08 16:53:37 -07:00
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y -q build-essential git
|
2014-12-17 21:40:08 -07:00
|
|
|
|
2015-01-24 08:40:49 -07:00
|
|
|
# golang puts its go install here (weird but true)
|
2015-09-16 19:19:51 -06:00
|
|
|
ENV GOROOT_BOOTSTRAP /usr/local/go
|
2015-01-24 08:40:49 -07:00
|
|
|
|
2015-01-08 16:53:37 -07:00
|
|
|
# golang sets GOPATH=/go
|
2015-09-16 19:19:51 -06:00
|
|
|
ADD . /go/src/tip
|
|
|
|
RUN go install tip
|
|
|
|
ENTRYPOINT ["/go/bin/tip"]
|
2015-01-08 17:26:56 -07:00
|
|
|
# Kubernetes expects us to listen on port 8080
|
2016-04-21 21:40:43 -06:00
|
|
|
EXPOSE 8080
|