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

Support multi-platform builds #478

Open
edburns opened this issue Feb 8, 2024 · 2 comments
Open

Support multi-platform builds #478

edburns opened this issue Feb 8, 2024 · 2 comments

Comments

@edburns
Copy link

edburns commented Feb 8, 2024

I asked Bing AI about this and it said:

However, as of my last knowledge update (which was up to 2021), the WebLogic Image Tool itself does not directly support docker buildx build. The docker buildx command is part of Docker BuildKit, which enables multi-platform builds and improved caching2. It’s a powerful tool for creating multi-architecture images, but it’s not directly integrated with the WebLogic Image Tool.

Can someone please confirm that multi-platform builds are not supported?

Thanks,

Ed

@ddsharpe
Copy link
Member

ddsharpe commented Feb 9, 2024

This is correct. the buildx option for Docker builds has not beed added to WebLogic Image Tool. If its just a matter of using buildx versus the default builder, you can achieve this by setting the command line option --builder. Because the command line options for both docker builders are the same, this should work.

In order to support multi-architecture builds with a single execution, WebLogic Image Tool would need a significant enhancement in order to provide different JDK and WLS installers to each of the architecture builds. It is not clear that this is even possible with the Docker framework, but this has not been exhaustively researched as the demand for the feature has not been seen.

@ddsharpe
Copy link
Member

@edburns Partially implemented in the next release. The user can select the target build platform, linux/amd64 or linux/arm64 using --platform. While this uses buildx for podman or docker build engines, it does not support building both platforms at the same time.

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

No branches or pull requests

2 participants