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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.