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

[REQ] Add support for Linux Group creation and user assignment #444

Open
1 task
jagpreetstamber opened this issue Nov 25, 2024 · 0 comments
Open
1 task
Labels
enhancement New feature or request

Comments

@jagpreetstamber
Copy link

What kind of request is this?

New feature

What is your request or suggestion?

Many of the opensource project in the docker builds create a group and assign the runtime user to that group. e.g.

From Argo CD:

RUN groupadd -g $ARGOCD_USER_ID argocd && \
    useradd -r -u $ARGOCD_USER_ID -g argocd argocd && \
    mkdir -p /home/argocd && \
    chown argocd:0 /home/argocd && \
    chmod g=u /home/argocd && \

From HA Proxy:

RUN set -eux; \
	groupadd --gid 99 --system haproxy; \
	useradd \
		--gid haproxy \
		--home-dir /var/lib/haproxy \
		--no-create-home \
		--system \
		--uid 99 \
		haproxy 

These groups are used to assign permissions to certain folders. Adding inherent capability in the DALEC will ease onboarding of such opesource project.

Are you willing to submit PRs to contribute to this feature request?

  • Yes, I am willing to implement it.
@jagpreetstamber jagpreetstamber added the enhancement New feature or request label Nov 25, 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