To execute the bootstrap file of a custom runtime, you must have the 777 or 755 permissions. Otherwise, the following error occurs:

{
  "ErrorCode":"CAFilePermission",
    "ErrorMessage":"The CA process cannot be started due to bootstrap file don't have execute permissions
} 

You can run the chmod 777 bootstrap or chmod 755 bootstrap command to obtain the permissions before packaging files.