Implement platform specific build for jibDockerBuild task
climategadgets opened this issue · 0 comments
climategadgets commented
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.