1
0
mirror of https://github.com/golang/go synced 2024-11-18 17:54:57 -07:00
go/cmd/tipgodoc/Dockerfile

15 lines
407 B
Docker
Raw Normal View History

FROM google/appengine-go
RUN apt-get update
RUN apt-get install --no-install-recommends -y -q curl build-essential git
RUN mkdir /goroot && curl https://storage.googleapis.com/golang/go1.4.linux-amd64.tar.gz | tar xvzf - -C /goroot --strip-components=1
RUN mkdir /gopath
ENV GOROOT /goroot
ENV GOPATH /gopath
ENV PATH $PATH:$GOROOT/bin:$GOPATH/bin
WORKDIR /app
ADD . /app
RUN /bin/bash /app/_ah/build.sh