Please read:
How I fixed
To make the image compatible, I had to build my own.
I had to set perms on the opal dir eg:
RUN chgrp -R 0 /some/directory && \ chmod -R g+rwX /some/directory
When I deployed, HOME was set to root, not opal.
This meant that the scripts in: https://github.com/permitio/opal/blob/master/packages/opal-common/opal_common/git_utils/
were trying to write/access the ssh_key from/to /.ssh instead of /opal/.ssh
There were NO error messages indicating this issue, I recommend adding more error handling to these scripts.
I fixed this issue by setting home to /opal.