Open MUCZ opened 10 months ago
So did I
any idea? I also have the same issue on m1
i had same problem when i build use alpine BaseImage i replace the content “ FROM eclipse-temurin:8-jdk-alpine AS builder ” to " FROM openjdk:8 AS builder " in Dockerfile-alpine and success
The alpine-based image 'eclipse-temurin:8-jdk-alpine' is not supported on aarch64, where Apple M1/M2 chips run:
The Adoptium Community is working on the aarch64 support for alpine, but it seems there's no stable image currently: https://github.com/adoptium/containers/issues/158#issuecomment-1719689081
As a workaround, please run sh build-image.sh RMQ-VERSION centos
. This is mostly the same as what @MaidSG has done.
for RocketMQ image, we can use above⬆️ way to handle it. but for RocketMQ-dashborad image, we can see the Dockerfile:
FROM centos:7
RUN yum install -y java-1.8.0-openjdk-devel.x86_64 unzip openssl, which gnupg, wget \
&& yum clean all -y
centos:7 doesn't support arm64 arch, we can use this image centos:centos7. but the yum install command, it need to install openjdk, but it point to x86_64 haha
also, but how to solve it?
The alpine-based image 'eclipse-temurin:8-jdk-alpine' is not supported on aarch64, where Apple M1/M2 chips run:
The Adoptium Community is working on the aarch64 support for alpine, but it seems there's no stable image currently: adoptium/containers#158 (comment)
As a workaround, please run
sh build-image.sh RMQ-VERSION centos
. This is mostly the same as what @MaidSG has done.
Where do I need to run this command? The dockerfile does this on its own?
platform: mac pro m2