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

Fix supervisor conf file owners #91

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Fix supervisor conf file owners #91

merged 1 commit into from
Nov 22, 2024

Conversation

amercader
Copy link
Member

Although supervisor has been removed from 2.11 onward, it is still used in the 2.10 and 2.9 images. In #80 the supervisord.conf was modified to run the process as the newly created ckan-sys user, but this same conf file is used in the alpine image, where this user does not exist. Conversely, the 2.9 Python image includes the same file as the alpine one, so it doesn't use the new user.

This PR splits the files in two different versions so they use the appropriate user.

Although supervisor has been removed from 2.11 onwards, it is still used
in the 2.10 and 2.9 images. In #80 the supervisord.conf [was modified][1]
to run the process as the newly created `ckan-sys` user, but this same
conf file is used in the alpine image, where this user does not exist.
Conversely, the 2.9 Python image includes the same file as the alpine
one, so it doesn't use the new user.

This PR splits the files in two different versions so they use the
appropiate user.

[1]
https://github.com/ckan/ckan-docker-base/pull/80/files#diff-a9f3dc77dfb98b40d119163f7a8049572695f238c20380a6c9ca8e43c4a9daf3R4
@kowh-ai kowh-ai merged commit 345bc55 into main Nov 22, 2024
6 checks passed
@kowh-ai kowh-ai deleted the fix-supervisor branch November 22, 2024 09:18
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.

2 participants