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

Docker image: add support for arm64 #2746

Open
Martin-happy opened this issue Nov 22, 2024 · 1 comment
Open

Docker image: add support for arm64 #2746

Martin-happy opened this issue Nov 22, 2024 · 1 comment
Labels

Comments

@Martin-happy
Copy link

Martin-happy commented Nov 22, 2024

Chore summary
AFAI can see there is no docker-image available for linux/amd64.
Running spectral lint in our cicd pipeline (in docker) hits a blocker when the job runs in an arm64 arch node.

Tasks

  • extend docker build process to also build and push image for arm64 and potential others

Additional context
docker multi arch build: https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/
current available tags on dockerhub: https://hub.docker.com/r/stoplight/spectral/tags

Docker trying to auto-match an image for the host platform on an linux/arm64/v8 machine:

Status: Downloaded newer image for stoplight/spectral:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
exec /usr/local/bin/spectral: exec format error
@Martin-happy
Copy link
Author

I think this could be a fast win as the arm64 build in general is already set up
#2569

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

No branches or pull requests

1 participant