mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-02 15:14:09 +01:00
686b477775
rm dockerfile update add comments
16 lines
334 B
Docker
16 lines
334 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
|
|
|
|
COPY 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"]
|