github.com/jingleWang/moby@v1.13.1/man/Dockerfile.aarch64 (about)

     1  FROM    aarch64/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
     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:/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"]