Fixes Dockerfile "go get" command
Now pulls down all dependencies for registry sub-packages
This commit is contained in:
parent
b3b5b48b88
commit
454d4e918a
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ FROM golang
|
||||||
COPY . /go/src/github.com/docker/docker-registry
|
COPY . /go/src/github.com/docker/docker-registry
|
||||||
|
|
||||||
# Fetch any dependencies to run the 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
|
RUN go install github.com/docker/docker-registry/cmd/registry
|
||||||
|
|
||||||
ENV CONFIG_PATH /etc/docker/registry/config.yml
|
ENV CONFIG_PATH /etc/docker/registry/config.yml
|
||||||
|
@ -11,4 +11,4 @@ COPY ./cmd/registry/config.yml $CONFIG_PATH
|
||||||
|
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
ENV PATH /go/bin
|
ENV PATH /go/bin
|
||||||
CMD registry $CONFIG_PATH
|
CMD registry $CONFIG_PATH
|
||||||
|
|
Loading…
Reference in a new issue