From 454d4e918a824ad8821dcc4358f58cfdfe07a706 Mon Sep 17 00:00:00 2001 From: Brian Bland Date: Wed, 17 Dec 2014 12:04:18 -0800 Subject: [PATCH] Fixes Dockerfile "go get" command Now pulls down all dependencies for registry sub-packages --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6297b38db..8ab4e7f8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file +CMD registry $CONFIG_PATH