Hello Ke,

Can you share your use-case for the ubi-hive image? What problem are you facing?

When creating images to run on top of OpenShift, we follow some guidelines[1] to improve security in the deployments. Explicitly assigning a username is not a good practice because of the random UIDs that can be assigned to the container running on OpenShift, and thus adding an entry in /etc/passwd from an entrypoint script is the solution for processes that need a name assigned to a UID. Due to this, I think your change won't be accepted by the ubi-hive developers. That being said, though we use their image with Trino, they are not part of the ODH community.

Hope that helps.

[1] https://docs.openshift.com/container-platform/4.7/openshift_images/create-images.html#images-create-guide-openshift_create-images


On Thu, Jul 1, 2021 at 6:21 PM Ke Zhu <kzhu@us.ibm.com> wrote:
I’ve followed the comments of https://github.com/opendatahub-io/odh-images/issues/2 to use UBI images for both Hive and Trino. But don’t get any attention on https://github.com/RedHatInsights/ubi-hive/issues/8 nor https://github.com/RedHatInsights/ubi-hive/pull/9

So I wonder what’s the suggested way to update these images? 

_______________________________________________
Users mailing list -- users@lists.opendatahub.io
To unsubscribe send an email to users-leave@lists.opendatahub.io


--

Ricardo Martinelli De Oliveira

Senior Software Engineer, AI CoE

Red Hat Brazil

Av. Brigadeiro Faria Lima, 3900

8th floor

rmartine@redhat.com    T: +551135426125    
M: +5511970696531