RockteMQ-AI commented on issue #376:
URL: 
https://github.com/apache/rocketmq-dashboard/issues/376#issuecomment-5383922629

   **Issue Evaluation**
   
   Category: `bug` | Status: **Confirmed**
   
   The issue is valid. The current Dockerfile (`src/main/docker/Dockerfile`) 
uses `eclipse-temurin:17.0.16_8-jre-ubi9-minimal` as the base image. UBI 9 (Red 
Hat Universal Base Image 9) requires **x86_64-v2** microarchitecture level 
(SSE4.2 + CMPXCHG16B + LAHF-SAHF + POPCNT), which excludes some older CPUs 
(pre-2009 era Intel Nehalem / AMD Barcelona and earlier).
   
   **Root Cause:** The UBI 9 minimal base image ships glibc compiled for 
x86_64-v2, causing `Illegal Instruction` or similar errors on older hardware 
that only supports baseline x86_64 (v1).
   
   **Suggested Fix:** Consider one of these approaches:
   1. Switch the base image to `eclipse-temurin:17-jre-jammy` (Ubuntu 
22.04-based, supports baseline x86_64) for broader compatibility.
   2. Provide a separate Dockerfile variant (e.g., `Dockerfile.legacy`) for 
older CPU architectures.
   3. Document the minimum CPU requirements in the deployment guide.
   
   Note: The Dockerfile exists at `src/main/docker/Dockerfile` in the 
repository — it is not missing, but the base image choice limits hardware 
compatibility.
   
   ---
   *Automated evaluation by github-manager*


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to