Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Comments

Fix non root build#4

Merged
sameo merged 2 commits intomasterfrom
topic/centos-build
Mar 15, 2017
Merged

Fix non root build#4
sameo merged 2 commits intomasterfrom
topic/centos-build

Conversation

@sameo
Copy link

@sameo sameo commented Mar 8, 2017

When cloning and building as non root, our SOURCES files would show as belonging to UID and GID 1000, which are unknown to the container workloads. To resolve that issue we:

  • Added a cc user with UID 1000 and GID 1000.
  • Copy SOURCES into the container fs (We no longer mount it).

Signed-off-by: Samuel Ortiz sameo@linux.intel.com

- Added a cc user.
- Copy SOURCES into the container fs (We no longer mount it).

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
@sameo sameo force-pushed the topic/centos-build branch from dd40f43 to 5735049 Compare March 8, 2017 22:53
@gorozco1
Copy link
Contributor

gorozco1 commented Mar 8, 2017

lgtm

- Added a cc user.
- Copy SOURCES into the container fs (We no longer mount it).

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
@sameo sameo changed the title centos: Fix non root build Fix non root build Mar 9, 2017
@sameo sameo force-pushed the topic/centos-build branch from 96c63da to d0231fd Compare March 9, 2017 23:25
@sameo
Copy link
Author

sameo commented Mar 15, 2017

@chavafg Could you please double check that this is working for you ?

@chavafg
Copy link
Contributor

chavafg commented Mar 15, 2017

Works for me. 👍

@sameo sameo merged commit 5b00317 into master Mar 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants