Open ATLowther opened 1 year ago
I tried to remove the node-canvas
dependency in this PR https://github.com/runejs/server/pull/389
Can you try to track down why it's still being installed in your Dockerfile?
I tried to remove the
node-canvas
dependency in this PR #389Can you try to track down why it's still being installed in your Dockerfile?
Sure:
@runejs/update-server requires @runejs/filestore requires canvas.
Describe the bug The docker image will not build due to node-canvas issue
To Reproduce Steps to reproduce the behavior:
docker compose build
on a machine with arm64 arch.Expected behavior I expected the image to build.
Screenshots
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-systemsI can submit a PR for the updated Dockerfile if desired.