question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker image support for arm64 architecture (M1 Macs)

See original GitHub issue

Is your feature request related to a problem? Please describe. Unable to use minlag/mermaid-cli docker image on arm64 architecture (M1 Macs)

Describe the solution you’d like I’d like minlag/mermaid-cli to be built for arm64 architecture in addition to the current build.

Describe alternatives you’ve considered None.

Additional context

docker: Error response from daemon: image with reference minlag/mermaid-cli was found but does not match the specified platform: wanted darwin/amd64, actual: linux/amd64.

Should be doable via adding --platform=arm64 to the FROM lines in Dockerfiles as node images support arm64 architecture:

FROM --platform=arm64 node:current-slim AS build

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
mikedercommented, Mar 21, 2022

Confirmed the arm64 image landed in both the DockerHub and GHCR repositories 🎉

1reaction
teejaecommented, Feb 12, 2022

@mikeder Please have a stab at the change. I assume the diff is only the npm install ...@version.

if you don’t have something by the weekend i can give a stab next week.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to build Docker Images for Apple Silicon (aka M1 Chip)
Learn more about building multi-architecture Docker Images for both x86 and Apple Silicon (M1) locally and via CircleCI.
Read more >
Run x86 (Intel) and ARM based images on Apple Silicon (M1 ...
Being an Apple customer, I am wondering if use a Mac Mini M1, do ALL Docker images run as expected? Does this happen...
Read more >
Choosing the right Docker Image for your Apple M1 Pro
Docker images can support multiple architectures, which means that a single image may contain variants for different architectures, and ...
Read more >
Choosing the right Docker Image for your Apple M1 Pro
As you can see above, the Docker image has limited support only for x86 platform(missing Arm arch support). Your CPU can only run...
Read more >
Docker build with Mac M1 - Medium
Docker build with Mac M1. Minimal guide to building your image for multiple architectures. Error about the architecture mismatch (image by ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found