-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[CI:BUILD] Podman image: Mass cleanup + fix missing storage.conf #14437
Conversation
Isn't /usr/share/containers/storage.conf there? |
Yeah, it's there. I thought the idea was for users to just set the non-default items and have |
Nope copy/sed should be fine. |
Okay, I'll make that change. |
Other than a question and 3 probable nits. |
LGTM other then Tom's changes. |
Force-push: removed file-name comments in Containerfiles. |
force-push: implemented @nalind suggestion. |
As of Fedora 36, `/etc/containers/storage.conf` with defaults is installed under `/usr/share/containers/`. This was causing builds to fail in the necessary `sed` command that enables fuse-overlayfs. Fix this by using sed on the new location with an output redirect into the `etc` location. Also, perform a mass-cleanup of the three files to make them easier to read/maintain. Including renaming them to `Containerfile`, since all native build tooling is now used to produce them. Lastly, take advantage of the `podman-next` copr repository to install the latest/greatest podman from `main`, rather than building it from scratch. This will greatly speed up the image build speed. Signed-off-by: Chris Evich <[email protected]>
force-push: Added back in filename comments |
I just triggered the test-builds. |
Okay, this should be ready to go. |
/approve |
/wakeup bot |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cevich, rhatdan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
As of Fedora 36,
/etc/containers/storage.conf
with defaults isinstalled under
/usr/share/containers/
. This was causing buildsto fail in the necessary
sed
command that enables fuse-overlayfs.Fix this by using sed on the new location with an output redirect
into the
etc
location.Also, perform a mass-cleanup of the three files to make them easier
to read/maintain. Including renaming them to
Containerfile
,since all native build tooling is now used to produce them.
Lastly, take advantage of the
podman-next
copr repository to installthe latest/greatest podman from
main
, rather than building it fromscratch. This will greatly speed up the image build speed.
Does this PR introduce a user-facing change?