mirror of
https://github.com/goharbor/harbor
synced 2025-04-28 00:00:26 +00:00
Merge pull request #8171 from rvanbutselaar/prepare_selinux
Add SELinux label to all volumes inside prepare script
This commit is contained in:
commit
b7123cd4c2
@ -45,10 +45,10 @@ secret_dir=${data_path}/secret
|
||||
config_dir=$harbor_prepare_path/common/config
|
||||
|
||||
# Run prepare script
|
||||
docker run --rm -v $input_dir:/input \
|
||||
-v $harbor_prepare_path:/compose_location \
|
||||
-v $config_dir:/config \
|
||||
-v $secret_dir:/secret \
|
||||
docker run --rm -v $input_dir:/input:z \
|
||||
-v $harbor_prepare_path:/compose_location:z \
|
||||
-v $config_dir:/config:z \
|
||||
-v $secret_dir:/secret:z \
|
||||
goharbor/prepare:dev $@
|
||||
|
||||
echo "Clean up the input dir"
|
||||
|
Loading…
x
Reference in New Issue
Block a user