harbor/make/photon/registry/entrypoint.sh

14 lines
362 B
Bash
Raw Normal View History

2017-07-24 12:21:38 +02:00
#!/bin/sh
set -e
# The directory /var/lib/registry is within the container, and used to store image in CI testing.
# So for now we need to chown to it to avoid failure in CI.
# if [ -d /var/lib/registry ]; then
# chown 10000:10000 -R /var/lib/registry
# fi
/home/harbor/install_cert.sh
exec /usr/bin/registry_DO_NOT_USE_GC serve /etc/registry/config.yml