Closed mwilck closed 1 month ago
Something similar is documented here: https://opensource.suse.com/bci-docs/guides/container-suseconnect/
Does that work for you?
It has been some time :grin: ... Possibly, yes. I can see that the new docs have a podman section now. LGTM.
The README.md explains how to extend SLE containers on non-SLE systems using docker. I was wondering if it also works with podman and buildah. The answer is yes, even though
buildah bud
doesn't supportDOCKER_BUILDKIT
andRUN --mount type=secret
.Instead, it can be done with buildah as follows. Like with docker, valid
SUSEConnect
andSCCcredentials
files are required and must be accessible locally.Unlike
docker build
, it's actually possible to remove the-n
flag from the zypper command line and thus solve possible conflicts during the build.Perhaps you want to add that to the README?