Actions
Issue #5895
closedRemove use of 'sudo' from the 'build_image_from_dockerfile' task
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
The buildah commands are currently executed using sudo. However, buildah can work without root priviledges on non-shared filesystems. I was able to do this in my manual testing outside of a pulpcore-worker. We need to figure out how to properly configure buildah so that the pulpcore-worker process can execute it without sudo.
Actions
Removes sudo from the buildah command
This patch also removes the use of a volume mount. There seems to be a problem with using a volume mount when running buildah inside a container.
fixes: #5895 https://pulp.plan.io/issues/5895