Install node-gyp and required system packages so that a arm64 version of node-canvas can be automatically built during installation.
Better would probably be to pre-build the arm64 binary like I did for dockerize
It's a work-in-progress, and the Docker image takes approx. 1.5 hours to build on my pi, but these steps should result in a development build running on the rpi4:
git clone --depth=1 --branch=raspberrypi4 https://github.com/derekenos/forem
cd forem
docker build -f Dockerfile-rpi4-development -t quay.io/forem/forem:development .
docker-compose up
I've made some recent progress in getting Forem to run on a Raspberry Pi 4.
The major things I needed to do were:
quay.io/forem/forem:development
based on theaarch64
(a.k.a.arm64
) Fedora imagearm64
build ofdockerize
arm64
version ofnode-canvas
can be automatically built during installation.arm64
binary like I did fordockerize
It's a work-in-progress, and the Docker image takes approx. 1.5 hours to build on my pi, but these steps should result in a development build running on the rpi4:
Awesome!