Skip to content

[Bug][gitextractor] Dockerfile - devlake user cannot run update-ca-certificates #6556

@clement-igonet

Description

@clement-igonet

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

The Configuration Troubleshooting page here indicates to make run update-ca-certificates to import rootCA.
However, it is not possible as a devlake (non root) user (at least on v0.18.0 and above)

See backend/Dockerfile:

RUN useradd -ms /bin/bash -d /app devlake -u 1010
USER devlake

What do you expect to happen

I expect update-ca-certificates to be runnable.

How to reproduce

Follow the documentation:

  devlake:
    image: apache/devlake:v...
    ...
    volumes:
      ...
      - /path/to/your/rootCA.crt:/usr/local/share/ca-certificates/rootCA.crt
    command: [ "sh", "-c", "update-ca-certificates; lake" ]
    ...

Anything else

No response

Version

v0.18.0 and above

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

type/bugThis issue is a bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions