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

MacBook Pro m1 integration test failing. #180

Open
ernororive opened this issue Sep 17, 2023 · 1 comment
Open

MacBook Pro m1 integration test failing. #180

ernororive opened this issue Sep 17, 2023 · 1 comment

Comments

@ernororive
Copy link
Contributor

The docker build pack won't work on my MacBook Pro with an M1 (ARM) architecture. It fails while trying to build the base image.

---> [Warning] The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

---> Running in 90b6309af73a
exec /bin/sh: exec format error
The command '/bin/sh -c microdnf update -y && microdnf module enable nginx:1.20 -y && microdnf install -y glibc-langpack-en python311 openssl nginx nginx-mod-stream java-11-openjdk-headless tzdata-java fontconfig && microdnf clean all && rm -rf /var/cache/yum' returned a non-zero code: 1

@zlogic
Copy link
Member

zlogic commented Sep 18, 2023

At the moment, CF Buildpack components are only compiled for AMD64 (x86-64).
It's only possible to run Docker Buildpack on ARM64 systems through emulation or translation:

On ARM systems, the MDA file should be built from Studio Pro.

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

No branches or pull requests

2 participants