mirror of
https://github.com/goharbor/harbor.git
synced 2024-09-07 19:48:06 +02:00
This commit fixes a recently discovered issue on Kubernetes #4496 It make necessary to avoid calling `chown` to config files during the bootstrap of the containers.
5 lines
119 B
Bash
5 lines
119 B
Bash
#!/bin/bash
|
|
set -e
|
|
sudo -E -H -u \#10000 sh -c "/dumb-init -- /clair2.0.1/clair -config /etc/clair/config.yaml"
|
|
set +e
|