2015-03-07 15:25:49 -07:00
|
|
|
FROM golang:1.4.2
|
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)
|
|
|
|
ENV GOROOT_BOOTSTRAP /usr/src/go
|
|
|
|
|
2015-01-08 16:53:37 -07:00
|
|
|
# golang sets GOPATH=/go
|
|
|
|
ADD . /go/src/tipgodoc
|
|
|
|
RUN go install tipgodoc
|
|
|
|
ENTRYPOINT ["/go/bin/tipgodoc"]
|
2015-01-08 17:26:56 -07:00
|
|
|
# Kubernetes expects us to listen on port 8080
|
|
|
|
EXPOSE 8080
|