Skip to content

[WIP] Refactor Dockerfile #8429

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Raimo33
Copy link

@Raimo33 Raimo33 commented Jul 28, 2025

This is a draft PR to refactor the dockerfile according to issues:

@ShahanaFarooqui
Copy link
Collaborator

@Raimo33 As per @cdecker's suggestion here, we should modify the Dockerfile to run as a non-root user for improved security. Since we're already refactoring the Dockerfile, could we incorporate this change as well?

@Raimo33
Copy link
Author

Raimo33 commented Aug 2, 2025

I'm removing the manual handling of tini in favor of a user controlled approach, more docker native and friendly.

ENTRYPOINT  [ "/usr/bin/tini", "-g", "--", "./entrypoint.sh" ]

becomes:

ENTRYPOINT  ["/entrypoint.sh"]

and the user is free to run the container with tini by using the official --init flag as follows:

docker run --init ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor Dockerfile after the removal of all built-in Python plugins
2 participants