Skip to content

OpenShift compatible image that supports arbitrary user ids #687

@jsbloo

Description

@jsbloo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions