mirror of
https://github.com/golang/go
synced 2024-11-19 02:04:42 -07:00
03d3934baf
Change-Id: I52ca7eaca98de27bd920ae01086b3f7724819738 Reviewed-on: https://go-review.googlesource.com/37754 Reviewed-by: Chris Broadfoot <cbro@golang.org>
16 lines
390 B
Docker
16 lines
390 B
Docker
FROM golang:1.8
|
|
|
|
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
|
|
|
|
RUN go get -d golang.org/x/crypto/acme/autocert
|
|
|
|
# golang sets GOPATH=/go
|
|
ADD . /go/src/tip
|
|
RUN go install tip
|
|
ENTRYPOINT ["/go/bin/tip"]
|
|
# App Engine expects us to listen on port 8080
|
|
EXPOSE 8080
|