1
0
mirror of https://github.com/golang/go synced 2024-10-01 18:28:32 -06:00
go/cmd/tip/Dockerfile

16 lines
390 B
Docker
Raw Normal View History

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