-
Notifications
You must be signed in to change notification settings - Fork 192
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
[RFC] Build multiple-arch base, builder and kepler image #1099
Comments
I hope we can have a no GPU based image. Hence or so that, we can have a ubi based image and support all platform without GPU, for example edge computing usage. btw, @huoqifeng , we are plan to replace bcc by libbpf as ebpf libraray. |
yes, get a no gpu image is fine to me. @vimalk78 is also refactoring the base image, lets sync on the base image and support matrices in the community meeting |
I will try to attend it tomorrow night my local time. I may have some personal conflicts. |
I'm going to close the issue as which was resolved partially by #1103 |
What would you like to be added?
Kepler does not have s390x
base
,builder
andkepler
image available yet.Why is this needed?
As we're adding the s390x(IBM System Z) support in function level in #1030, it's time to consider to build the
base
,builder
andkepler
image as multi-arch images.Approach
As obviously the contents in all of the images are different per architecture.
Option 1: architecture specific Dockerfile
I think it's reasonable to use following files to track architecture specific Dockerfile, like:
We can build architecture specific image and then create the multi-arch images manifest after all arch specific images built/push. Like:
Option 2: architecture specific install scripts
Alternative is to consider to add a
install_base_packages.sh
file to handle multiple architectures packages installation in a single Dockerfile file. For example, Using a single Docker file like:In the Dockerfile.bcc.base will call
We handle architecture specific algorithm in the file install_base_packages.sh
In file
install_base_packages.sh
we can do like:In this approach, we can use a single buildx command build all architectures images and corresponding manifest. Like:
Similar approach could be done for
Dockerfile.bcc.builder
andDockerfile.bcc.kepler
.I'm raising this RFC to discuss the approach...
The text was updated successfully, but these errors were encountered: