When attempting to add images programmatically to a Magento cloud instance we are getting the following error:
Warning: mkdir(): Read-only file system
We did find the following post, but the reply says we need to checkout the instance using GIT, copy the files locally and then redeploy. There must be a better way?