Skip to content

Improve user and group setup in clp-package Docker image #1508

@coderabbitai

Description

@coderabbitai

Context

This issue tracks improvements to the user and group creation process in the clp-package Docker image, as discussed in PR #1414.

Background

During review of PR #1414, it was suggested that the Docker image could benefit from proper group creation and a more realistic user home environment setup. The current implementation creates a user but does not create a dedicated group or set up a traditional home directory structure.

Suggested Improvements

  • Add group creation with configurable GID
  • Create user with proper group assignment
  • Set up a traditional home directory under /home/
  • Make UID and GID configurable as build arguments

References

Notes

These changes were deferred from PR #1414 to keep that PR focused on making the spider binaries work. PR #1413 already made some initial user creation changes.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions