Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[celery] Set non-root user on celery tasks in Dockerfile #14

Open
raphaelrpl opened this issue Nov 20, 2019 · 1 comment
Open

[celery] Set non-root user on celery tasks in Dockerfile #14

raphaelrpl opened this issue Nov 20, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@raphaelrpl
Copy link
Contributor

raphaelrpl commented Nov 20, 2019

Currently, the docker/Dockerfile uses superuser (root) to run celery tasks . It causes some warning like

/usr/local/lib/python3.6/dist-packages/celery/platforms.py:801: RuntimeWarning: You're running the worker with superuser privileges: this is
bdc-scripts-worker-publish | absolutely not recommended!
bdc-scripts-worker-publish | 
bdc-scripts-worker-publish | Please specify a different user using the --uid option.
bdc-scripts-worker-publish | 
bdc-scripts-worker-publish | User information: uid=0 euid=0 gid=0 egid=0
@raphaelrpl raphaelrpl added the enhancement New feature or request label Nov 20, 2019
@raphaelrpl raphaelrpl self-assigned this Nov 20, 2019
@raphaelrpl
Copy link
Contributor Author

In order to do that, we must ensure that DATA_DIR is writable by non-root user.

@raphaelrpl raphaelrpl added this to the 0.4.0 milestone Feb 6, 2020
@raphaelrpl raphaelrpl modified the milestones: 0.4.0, 0.8.0, 0.6.0 Feb 14, 2020
@raphaelrpl raphaelrpl modified the milestones: 0.6.0, 0.8.0 Nov 23, 2020
@raphaelrpl raphaelrpl modified the milestones: Version 0.8.4, Version 1.0 Sep 21, 2022
@raphaelrpl raphaelrpl modified the milestones: Version 1.0, Version 1.1 Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant