mirror of
https://github.com/golang/go
synced 2024-11-18 12:34:42 -07:00
25693e10e1
This will allow us to serve blog.golang.org and talks.golang.org from the latest sources without re-deploying. Change-Id: I2399a8a7eb60a0c6648916052f5f129cb826d546 Reviewed-on: https://go-review.googlesource.com/14662 Reviewed-by: Andrew Gerrand <adg@golang.org>
14 lines
342 B
Docker
14 lines
342 B
Docker
FROM golang:1.5
|
|
|
|
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
|