github.com/npaton/distribution@v2.3.1-rc.0+incompatible/Dockerfile (about) 1 FROM golang:1.5.3 2 3 RUN apt-get update && \ 4 apt-get install -y librados-dev apache2-utils && \ 5 rm -rf /var/lib/apt/lists/* 6 7 ENV DISTRIBUTION_DIR /go/src/github.com/docker/distribution 8 ENV GOPATH $DISTRIBUTION_DIR/Godeps/_workspace:$GOPATH 9 ENV DOCKER_BUILDTAGS include_rados include_oss include_gcs 10 11 WORKDIR $DISTRIBUTION_DIR 12 COPY . $DISTRIBUTION_DIR 13 COPY cmd/registry/config-dev.yml /etc/docker/registry/config.yml 14 RUN make PREFIX=/go clean binaries 15 16 VOLUME ["/var/lib/registry"] 17 EXPOSE 5000 18 ENTRYPOINT ["registry"] 19 CMD ["/etc/docker/registry/config.yml"]