Source-to-Image ignores user id to run in OpenShift

Solution Verified - Updated -

Issue

  • Our custom STI Builder Image has set USER 1001 in the Dockerfile
    • When deploying with OpenShift, the container user has ID 1000030000
  • Can you please explain this behaviour and provide a way to run the STI built image with an predictable UID?

Environment

  • Red Hat OpenShift Enterprise 3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content