mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-06 02:31:06 +01:00
408c1b429b
update update
19 lines
424 B
Docker
19 lines
424 B
Docker
FROM library/photon:1.0
|
|
|
|
MAINTAINER wangyan@vmware.com
|
|
|
|
# The original script in the docker offical registry image.
|
|
COPY entrypoint.sh /
|
|
RUN chmod u+x /entrypoint.sh
|
|
|
|
RUN mkdir -p /etc/docker/registry
|
|
COPY config.yml /etc/docker/registry/config.yml
|
|
|
|
COPY binary/registry /usr/bin
|
|
RUN chmod u+x /usr/bin/registry
|
|
|
|
VOLUME ["/var/lib/registry"]
|
|
EXPOSE 5000
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
CMD ["/etc/docker/registry/config.yml"]
|