-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Missing docker image for Apple Silicon (linux/arm64/v8) #11020
Comments
Note: openjdk/8-jre-alpine is published for platform linux/arm64/v8. Hence, I think it's only missing an action to build and release the images for this platform. |
I have same problem too. The docker run command with M1 Mac will be hang up and I can't send any exit command. |
Same issue here. This page on docker (https://docs.docker.com/docker-for-mac/apple-silicon/) suggested adding |
The base The problem is that Probably something like ... # get version/tag of current release
TAG=3.0.32
ORG=swaggerapi
IMAGE_NAME=swagger-codegen-cli
docker buildx build \
--platform=linux/amd64,linux/arm64 \
-f Dockerfile \
--push \
-t "${ORG}/${IMAGE_NAME}:${TAG}" \
-t "${ORG}/${IMAGE_NAME}:latest" \
. As an interim solution, I've gone ahead and published a multi-platform image ( |
To build your own updated image, tested on M1:
|
@danieleds When I use the container, after following your steps, I get |
@dfberry perhaps they made some changes in the branch that broke it. Try starting from an older commit from the 3.0.0 branch: https://github.com/swagger-api/swagger-codegen/commits/3.0.0 |
I had the same issue of @dfberry and tried going down a few versions. The last version working for me is swaggerapi/swagger-codegen-cli-v3:3.0.46, after that I get the Java version error. PS: I'm running the docker image. |
Thanks all for your patience, this has been fixed by the following changes adding multi-platform images builds: For master - Swagger / OpenAPI 2.0: #12290, #12291, #12292, #12293, #12294 for 3.0.0 - OpenAPI 3.0 |
Description
The Docker image is unusable on Mac OS with Apple Silicon M1 chip.
Steps to reproduce
The text was updated successfully, but these errors were encountered: