OpenSSH need to be able to lookup the user id to work correctly, and is needed for git push.
Openshift run container with an arbitrary user ID, in a range automatically defined at project creation.
Which mean this "random" user id is most likely not known in the container image, and user id lookup fail with something like :
Nouserexistsforuid1000390000
By using nss wrapper, we can fix that, and use a patched passwd file with the correct uid.
Additionally, I've tweaked the log output to capture and print it in the same time (just like tee)
OpenSSH need to be able to lookup the user id to work correctly, and is needed for git push.
Openshift run container with an arbitrary user ID, in a range automatically defined at project creation.
Which mean this "random" user id is most likely not known in the container image, and user id lookup fail with something like :
By using nss wrapper, we can fix that, and use a patched passwd file with the correct uid.
Additionally, I've tweaked the log output to capture and print it in the same time (just like
tee)