Project

Profile

Help

Issue #5895

Remove use of 'sudo' from the 'build_image_from_dockerfile' task

Added by dkliban@redhat.com almost 2 years ago. Updated over 1 year ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
-
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.

Associated revisions

Revision 7c995730 View on GitHub
Added by dkliban@redhat.com over 1 year ago

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

Revision 7c995730 View on GitHub
Added by dkliban@redhat.com over 1 year ago

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

History

#1 Updated by dkliban@redhat.com over 1 year ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dkliban@redhat.com

#2 Updated by dkliban@redhat.com over 1 year ago

  • Status changed from ASSIGNED to POST

#3 Updated by dkliban@redhat.com over 1 year ago

  • Status changed from POST to MODIFIED

#4 Updated by dkliban@redhat.com over 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF