spectral icon indicating copy to clipboard operation
spectral copied to clipboard

[Docker] Build for M1 Macs

Open jamietanna opened this issue 2 years ago • 2 comments

User story. As a user on an M1 Mac, I can use a native Docker image, instead of an emulated image for my architecture, so that I can run Spectral more efficiently.

Is your feature request related to a problem?

Describe the solution you'd like

Additional context

When running stoplight/spectral:6 on an M1 Mac:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

jamietanna avatar Jun 20 '22 08:06 jamietanna

@jamietanna you got a pull request for us there?

philsturgeon avatar Jul 06 '22 15:07 philsturgeon

Sorry no, not had a chance to get around to it. Happy to look next week when back at work if no one else has gotten around to it

jamietanna avatar Jul 06 '22 15:07 jamietanna

@jamietanna Did you get a chance to take a look at this?

Related to: #2279

mnaumanali94 avatar Sep 23 '22 16:09 mnaumanali94

The next version of CLI will have arm64 builds attached to it.

P0lip avatar Jul 24 '23 16:07 P0lip

Awsm. Thanks a lot your efforts!

rngtng avatar Jul 24 '23 17:07 rngtng

:tada: This issue has been resolved in version 6.9.0 :tada:

The release is available on npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:

stoplight-bot avatar Jul 25 '23 16:07 stoplight-bot