Add SELinux label to all volumes inside prepare script

Signed-off-by: Ronald van Butselaar <ronald@vbutselaar.nl>
This commit is contained in:
Ronald van Butselaar 2019-06-28 16:07:56 +02:00 committed by Ronald van Butselaar
parent 6d2d5a6a2a
commit 7cd29b399a

View File

@ -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"