github.com/vieux/docker@v0.6.3-0.20161004191708-e097c2a938c7/man/Dockerfile.s390x (about)

     1  FROM    s390x/ubuntu:xenial
     2  
     3  RUN     apt-get update && apt-get install -y git golang-go
     4  
     5  RUN     mkdir -p /go/src /go/bin /go/pkg
     6  ENV     GOPATH=/go:/usr/lib/go-1.6
     7  RUN     export GLIDE=v0.11.1; \
     8          export TARGET=/go/src/github.com/Masterminds; \
     9          mkdir -p ${TARGET} && \
    10          git clone https://github.com/Masterminds/glide.git ${TARGET}/glide && \
    11          cd ${TARGET}/glide && \
    12          git checkout $GLIDE && \
    13          make build && \
    14          cp ./glide /usr/bin/glide && \
    15          cd / && rm -rf /go/src/* /go/bin/* /go/pkg/*
    16  
    17  COPY    glide.yaml /manvendor/
    18  COPY    glide.lock /manvendor/
    19  WORKDIR /manvendor/
    20  RUN     glide install && mv vendor src
    21  ENV     GOPATH=$GOPATH:/go/src/github.com/docker/docker/vendor:/manvendor
    22  RUN     go build -o /usr/bin/go-md2man github.com/cpuguy83/go-md2man
    23  
    24  WORKDIR /go/src/github.com/docker/docker/
    25  ENTRYPOINT ["man/generate.sh"]