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

Implement platform specific build for jibDockerBuild task #305

Open
climategadgets opened this issue Feb 27, 2024 · 0 comments
Open

Implement platform specific build for jibDockerBuild task #305

climategadgets opened this issue Feb 27, 2024 · 0 comments

Comments

@climategadgets
Copy link
Member

climategadgets commented Feb 27, 2024

Expected Behavior

./gradlew jibDockerBuild produces a usable container on any platform.

Actual Behavior

An attempt to run this task on a Raspberry Pi will result in the following message when starting the container:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

Root Cause

jibDockerBuild:multi-platform image building not supported when pushing to Docker engine

Workaround

Until a good solution is found, you'll have to uncomment a block of code to produce a valid container.

Final solution will be coming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant