github.com/lusis/distribution@v2.0.1+incompatible/Dockerfile (about) 1 FROM golang:1.4 2 3 ENV DISTRIBUTION_DIR /go/src/github.com/docker/distribution 4 ENV GOPATH $DISTRIBUTION_DIR/Godeps/_workspace:$GOPATH 5 6 WORKDIR $DISTRIBUTION_DIR 7 COPY . $DISTRIBUTION_DIR 8 RUN make PREFIX=/go clean binaries 9 10 EXPOSE 5000 11 ENTRYPOINT ["registry"] 12 CMD ["cmd/registry/config.yml"]