Skip to content
This repository was archived by the owner on Feb 2, 2022. It is now read-only.

Conversation

@ibuziuk
Copy link
Member

@ibuziuk ibuziuk commented Jul 2, 2019

What does this PR do?

Adding a set of Che 7 images based on the community images with the support of arbitrary user [1] to make them compatible with OpenShift:

if ! whoami &> /dev/null; then
  if [ -w /etc/passwd ]; then
    echo "${USER_NAME:-default}:x:$(id -u):0:${USER_NAME:-default} user:${HOME}:/sbin/nologin" >> /etc/passwd
  fi
fi

[1] https://docs.okd.io/3.11/creating_images/guidelines.html#openshift-specific-guidelines

What issues does this PR fix or reference?

eclipse-che/che#13454

Signed-off-by: Ilya Buziuk <ibuziuk@redhat.com>
@ibuziuk
Copy link
Member Author

ibuziuk commented Jul 10, 2019

Closing in favour of eclipse-che/che-devfile-registry#24

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants