From 1fcf90b9c40728172d9c5f7e0c929437a151b9aa Mon Sep 17 00:00:00 2001 From: Aaron Lehmann Date: Mon, 10 Aug 2015 14:30:29 -0700 Subject: [PATCH] In the build container, change the config file location to /etc/docker/registry/config.yml This makes it consistent with the new official image. Paths in the docs were updated in 34067d7d43f282a67528764ba36527b800da25fa. Signed-off-by: Aaron Lehmann --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5555606fa..041016f09 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,10 +10,10 @@ ENV DOCKER_BUILDTAGS include_rados WORKDIR $DISTRIBUTION_DIR COPY . $DISTRIBUTION_DIR -COPY cmd/registry/config-dev.yml $DISTRIBUTION_DIR/cmd/registry/config.yml +COPY cmd/registry/config-dev.yml /etc/docker/registry/config.yml RUN make PREFIX=/go clean binaries VOLUME ["/var/lib/registry"] EXPOSE 5000 ENTRYPOINT ["registry"] -CMD ["cmd/registry/config.yml"] +CMD ["/etc/docker/registry/config.yml"]