Multiple base image support (and sambacc) #102
Replies: 2 comments 3 replies
-
When sambacc was very new and experimental I didn't want to set up any "infrastructure" to use it. So I added the ability for the test container image to build python wheels. Then to build upon sambacc the samba-container images could just invoke the sambacc build image and build python wheels for every build. Later, we didn't like how the wheel was different from every other package in the container (rpm), so we added a way to build sambacc as RPMs. However, it continued to follow the same model -
A couple of thoughts on resources we could use to split things up more:
I sill want an easy way to create rpm packages out of arbitrary versions locally, so I don't want to get rid of the script to build sambacc in a container, but for the more "typical" builds maybe something like the above can help. As for building samba-container sever/client/etc images on different bases. I think it could just be a matter of supporting a In some ways it would be similar to what we already do for the nightly images, just instead of altering our source for samba RPMs we are tweaking our general source for packages. OK, this went a bit long but I hope it's good food for thought. Questions/comments/alternative ideas welcome! |
Beta Was this translation helpful? Give feedback.
-
My thoughts. openSUSE builds images using our build service (similar to COPR, I believe), so we wouldn't really utilize the build/push/etc, aside from running make test. openSUSE also uses some custom labels and comments for the build process (see the openSUSE Containerfile for example). These could be merged and would just be ignored by fedora, I suppose. You can view here how I've packaged sambacc in our build service. And then I've added this repository which includes sambacc as a dependency for building the images, and included sambacc in the install list. |
Beta Was this translation helpful? Give feedback.
-
I think there's potential value in supporting multiple base images.
I'm creating this topic for general discussion of that idea.
Additionally, one of the things that has complicated the build process is sambacc. So I will open up the discussion to include sambacc. I considered making it a separate discussion on the sambacc repo, but these are fairly related and I would rather have the conversation in one place.
I'll dive into details in a follow up message.
CC: @obnoxxx @spuiuk @synarete @anoopcs9 @dmulder @gd
Beta Was this translation helpful? Give feedback.
All reactions