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

[BUG] docker compose build failure on arm64 #396

Open
ATLowther opened this issue Mar 19, 2023 · 2 comments
Open

[BUG] docker compose build failure on arm64 #396

ATLowther opened this issue Mar 19, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@ATLowther
Copy link

Describe the bug
The docker image will not build due to node-canvas issue

To Reproduce
Steps to reproduce the behavior:

  1. Run docker compose build on a machine with arm64 arch.

Expected behavior
I expected the image to build.

Screenshots
image

Additional context
A prebuilt for Node18 is does not exist for arm64. The resolution is to install the underlying dependencies, as documented by the maintainers: https://github.com/Automattic/node-canvas/wiki/Installation%3A-Ubuntu-and-other-Debian-based-systems

I can submit a PR for the updated Dockerfile if desired.

@ATLowther ATLowther added the bug Something isn't working label Mar 19, 2023
@Jameskmonger
Copy link
Collaborator

I tried to remove the node-canvas dependency in this PR #389

Can you try to track down why it's still being installed in your Dockerfile?

@ATLowther
Copy link
Author

I tried to remove the node-canvas dependency in this PR #389

Can you try to track down why it's still being installed in your Dockerfile?

Sure:

@runejs/update-server requires @runejs/filestore requires canvas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants