Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes sudo from the buildah command #64

Merged
merged 1 commit into from Mar 5, 2020
Merged

Conversation

dkliban
Copy link
Member

@dkliban dkliban commented Mar 5, 2020

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

@ipanova
Copy link
Member

ipanova commented Mar 5, 2020

@dkliban i had an impression that volume mount was needed because it is used by automation hub?now that we remove it , won't they be impacted?

@dkliban
Copy link
Member Author

dkliban commented Mar 5, 2020

@ipanova It is not strictly required. When the build container starts up, it automatically makes the context directory available for operations such as COPY. That reminds me that I should update the example Containerfile with this PR.

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
@dkliban dkliban merged commit fd28fb0 into pulp:master Mar 5, 2020
@dkliban dkliban deleted the no-sudo branch March 5, 2020 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants