[docker] Fix entrypoint typo for runtime docker image

This commit is contained in:
Qi Zheng 2023-11-03 15:32:27 +08:00 committed by volcano
parent c506334ca8
commit 3dae0c1085

@ -5,6 +5,6 @@ line=$(grep -n '"pccs_url"' /etc/sgx_default_qcnl.conf | cut -d ":" -f 1)
sed -i "${line}c \"pccs_url\": \"${PCCS_URL}\"," /etc/sgx_default_qcnl.conf sed -i "${line}c \"pccs_url\": \"${PCCS_URL}\"," /etc/sgx_default_qcnl.conf
# Update use_secure_cert # Update use_secure_cert
line=$(grep -n '"use_secure_cert"' /etc/sgx_default_qcnl.conf | cut -d ":" -f 1) line=$(grep -n '"use_secure_cert"' /etc/sgx_default_qcnl.conf | cut -d ":" -f 1)
sed -i "${line}c \"use_secure_cert\": ${USE_SECURE_CERT}," /etc/sgx_default_qcnl.conf sed -i "${line}c \"use_secure_cert\": ${USE_SECURE_CERT}" /etc/sgx_default_qcnl.conf
exec "$@" exec "$@"