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

Publish as arm64 image #30

Closed
rlespinasse opened this issue Oct 20, 2022 · 7 comments · Fixed by #31
Closed

Publish as arm64 image #30

rlespinasse opened this issue Oct 20, 2022 · 7 comments · Fixed by #31
Assignees
Labels
enhancement New feature or request released

Comments

@rlespinasse
Copy link
Owner

Related to rlespinasse/drawio-export#80

@bhagyas
Copy link

bhagyas commented Dec 8, 2022

Is there any updates on this?

@rlespinasse
Copy link
Owner Author

Since this try on #31, I didn't have time to rework on it.

@swill
Copy link

swill commented Mar 8, 2023

Just to provide some feedback (which is probably known). I get the following when trying the code in an M1 environment.

docker run -it rlespinasse/drawio-desktop-headless:v1.7.0 --help
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped
qemu: uncaught target signal 11 (Segmentation fault) - core dumped

Maybe I am not running it correctly, but figured I would post back just in case.

Thank you for all your hard work on this project. It has been a great tool in supporting documentation automation.

@juananpe
Copy link

I tried to build drawio-desktop for arm64. The problem is that drawio depends on electron-builder-binaries

https://github.com/jgraph/drawio-desktop/blob/dev/package.json#L45

And when trying to build it on arm64 and generate a .deb, electron-builder will use fpm. The problem is that fpm doesn't have support for arm64:

See: electron-userland/electron-builder-binaries#17
and fixing that issue is not so easy:
See: signalapp/Signal-Desktop#6063 (comment)

So I was able to build drawio-desktop (arm64) but not the corresponding .deb package.

You can find the arm64 binary of drawio-desktop here:
https://www.dropbox.com/s/zhf51bem4c18e8z/drawio-desktop-arm64.zip?dl=1

@rlespinasse
Copy link
Owner Author

Seem that the next release of drawio-desktop will support arm64.
I will wait to see if this new build is enough.

@rlespinasse
Copy link
Owner Author

Since v21.6.5, drawio desktop publish deb package on arm architecture

@rlespinasse
Copy link
Owner Author

🎉 This issue has been resolved in version 1.13.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request released
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants