Project

Profile

Help

Issue #5895

closed

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

Added by dkliban@redhat.com about 3 years ago. Updated almost 3 years 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.

Actions #1

Updated by dkliban@redhat.com almost 3 years ago

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

Updated by dkliban@redhat.com almost 3 years ago

  • Status changed from ASSIGNED to POST

Added by dkliban@redhat.com almost 3 years ago

Revision 7c995730

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

Added by dkliban@redhat.com almost 3 years ago

Revision 7c995730

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

Actions #3

Updated by dkliban@redhat.com almost 3 years ago

  • Status changed from POST to MODIFIED
Actions #4

Updated by dkliban@redhat.com almost 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF