forked from TrueCloudLab/distribution
1211d499f2
Signed-off-by: Ben Firshman <ben@firshman.co.uk>
12 lines
288 B
Docker
12 lines
288 B
Docker
FROM golang:1.4
|
|
|
|
ENV DISTRIBUTION_DIR /go/src/github.com/docker/distribution
|
|
ENV GOPATH $DISTRIBUTION_DIR/Godeps/_workspace:$GOPATH
|
|
|
|
WORKDIR $DISTRIBUTION_DIR
|
|
COPY . $DISTRIBUTION_DIR
|
|
RUN make PREFIX=/go clean binaries
|
|
|
|
EXPOSE 5000
|
|
ENTRYPOINT ["registry"]
|
|
CMD ["cmd/registry/config.yml"]
|