forked from TrueCloudLab/distribution
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
34067d7d43
.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
This commit is contained in:
parent
143aae8bc5
commit
1fcf90b9c4
1 changed files with 2 additions and 2 deletions
|
@ -10,10 +10,10 @@ ENV DOCKER_BUILDTAGS include_rados
|
||||||
|
|
||||||
WORKDIR $DISTRIBUTION_DIR
|
WORKDIR $DISTRIBUTION_DIR
|
||||||
COPY . $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
|
RUN make PREFIX=/go clean binaries
|
||||||
|
|
||||||
VOLUME ["/var/lib/registry"]
|
VOLUME ["/var/lib/registry"]
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
ENTRYPOINT ["registry"]
|
ENTRYPOINT ["registry"]
|
||||||
CMD ["cmd/registry/config.yml"]
|
CMD ["/etc/docker/registry/config.yml"]
|
||||||
|
|
Loading…
Reference in a new issue