mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-04 16:13:35 +01:00
1fc4142e1a
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
|