Skip to content

Comments

Add support for UBI 8 based images in SSHD service#653

Open
rgrunber wants to merge 2 commits intoche-incubator:mainfrom
rgrunber:sshd-ubi8
Open

Add support for UBI 8 based images in SSHD service#653
rgrunber wants to merge 2 commits intoche-incubator:mainfrom
rgrunber:sshd-ubi8

Conversation

@rgrunber
Copy link
Collaborator

@rgrunber rgrunber commented Feb 18, 2026

This PR is meant to work with the editor definition proposed in eclipse-che/che-operator#2088

  • Fixes https://issues.redhat.com/browse/CRW-10044
  • Also discovered that under certain conditions, the random user is not added under /etc/passwd. Before, we would use NSS_WRAPPER to modify the home directory and shell stored for a user (under /etc/passwd), but now we've expanded to also adding the user if not present.

@github-actions
Copy link

github-actions bot commented Feb 18, 2026

Click here to review and test in web IDE: Contribute

@github-actions
Copy link

- Use a multi-stage image build to support different UBI based images.
- Use folders within /sshd-staging/ to determine base of user container
  (eg.  /sshd-staging/ubi8/ , /sshd-staging/ubi9/)

Signed-off-by: Roland Grunberg <[email protected]>
@github-actions
Copy link

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.

1 participant