1
0
Fork 1
mirror of https://github.com/distribution/distribution synced 2024-09-22 10:29:49 +00:00

Merge pull request #860 from BrianBland/next-generation

Fixes Dockerfile "go get" command
This commit is contained in:
Stephen Day 2014-12-17 12:08:54 -08:00
commit d92a6cc12e

View file

@ -3,7 +3,7 @@ FROM golang
COPY . /go/src/github.com/docker/docker-registry
# Fetch any dependencies to run the registry
RUN go get github.com/docker/docker-registry
RUN go get github.com/docker/docker-registry/...
RUN go install github.com/docker/docker-registry/cmd/registry
ENV CONFIG_PATH /etc/docker/registry/config.yml
@ -11,4 +11,4 @@ COPY ./cmd/registry/config.yml $CONFIG_PATH
EXPOSE 5000
ENV PATH /go/bin
CMD registry $CONFIG_PATH
CMD registry $CONFIG_PATH