github.com/hms58/moby@v1.13.1/man/Dockerfile.ppc64le (about) 1 FROM ppc64le/ubuntu:xenial 2 3 RUN apt-get update && apt-get install -y \ 4 curl \ 5 gcc \ 6 git \ 7 make \ 8 tar 9 10 ENV GO_VERSION 1.7.5 11 RUN curl -fsSL "https://golang.org/dl/go${GO_VERSION}.linux-ppc64le.tar.gz" \ 12 | tar -xzC /usr/local 13 ENV PATH /usr/local/go/bin:$PATH 14 ENV GOPATH=/go 15 16 RUN mkdir -p /go/src /go/bin /go/pkg 17 RUN export GLIDE=v0.11.1; \ 18 export TARGET=/go/src/github.com/Masterminds; \ 19 mkdir -p ${TARGET} && \ 20 git clone https://github.com/Masterminds/glide.git ${TARGET}/glide && \ 21 cd ${TARGET}/glide && \ 22 git checkout $GLIDE && \ 23 make build && \ 24 cp ./glide /usr/bin/glide && \ 25 cd / && rm -rf /go/src/* /go/bin/* /go/pkg/* 26 27 COPY glide.yaml /manvendor/ 28 COPY glide.lock /manvendor/ 29 WORKDIR /manvendor/ 30 RUN glide install && mv vendor src 31 ENV GOPATH=$GOPATH:/manvendor 32 RUN go build -o /usr/bin/go-md2man github.com/cpuguy83/go-md2man 33 34 WORKDIR /go/src/github.com/docker/docker/ 35 ENTRYPOINT ["man/generate.sh"]