Skip to content

[BUG] container image cannot run in restricted environments #2

Description

@ibotty

It would be great to allow the image to run as non-root. Ideally with a random user (as required by OpenShift/OKD). I can prepare a pull request that changes the entrypoint to allow running the image as non-root.

How can we reproduce the behavior
Start the container as non-root (e.g. podman run --rm --user 999 taigaio/taiga-protected). The output will be like

Give permission to taiga:taiga
chown: changing ownership of '/taiga-protected/.coveragerc': Operation not permitted
[...]

Workarounds
Run the image as root.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions