streamthoughts / jikkou

The Open source Resource as Code framework for Apache Kafka. Jikkou helps you implement GitOps for Kafka at scale!
https://www.jikkou.io/
Apache License 2.0
209 stars 20 forks source link

Docker Image fails to run on linux/arm64/v8 for jikkou:0.35.1 #482

Open harshvardhan-j opened 3 months ago

harshvardhan-j commented 3 months ago

Describe the bug A clear and concise description of what the bug is. Running docker on Mac M1 results in the below error

docker run -it streamthoughts/jikkou:0.35.1

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
The current machine does not support all of the following CPU features that are required by the image: [CX8, CMOV, FXSR, MMX, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, POPCNT, LZCNT, AVX, AVX2, BMI1, BMI2, FMA].
Please rebuild the executable with an appropriate setting of the -march option.%

To Reproduce Steps to reproduce the behavior:

Expected behavior A clear and concise description of what you expected to happen.

Docker image runs on Mac M1.

Screenshots/Configs If applicable, add screenshots to help explain your problem.

Runtime environment

Additional context Add any other context about the problem here.

micr01996 commented 2 months ago

Same issue here, can we have support for ARM based architecture, so that we don't need to rebuild the image?

fhussonnois commented 2 months ago

Could you try using the main tag ?

Alternatively, there is a new tag main-java that does't rely on the native build which should solve the issue:

Thank you for your feedback

harshvardhan-j commented 2 months ago

Thank you @fhussonnois this helps.

May I check if the native docker image will also ensure that the binary can be installed using SDKMan on these architectures?

If it's another issue I can create it with more context. Thank you.