Skip to content

examples/gitserver image needs a valid non-root user #18912

Closed
@phemmer

Description

@phemmer
Version
oc v3.7.1+ab0f056
kubernetes v1.7.6+a08f5eeb62
features: Basic-Auth

Server https://192.168.99.100:8443
openshift v3.7.1+a8deba5-34
kubernetes v1.7.6+a08f5eeb62
Steps To Reproduce

Follow the directions in https://github.com/openshift/origin/tree/master/examples/gitserver

  1. oc create -f gitserver-ephemeral.yaml
Current Result
error: initial clone failed:
* No user exists for uid 1000270000
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Expected Result

success

Additional Information

This is because the Dockerfile is not adding a valid user, so the container launches with a user ID in the restricted range, which doesn't exist within the container.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions