Closed fabdrol closed 3 years ago
There is an error about not finding the can header files, possibly gcc related, possibly COPY
related. When it's nodegyp it is almost always missing parts of the gcc tool chain.
Hi there. It seems that the linux kernel headers are either not installed (check Alpine pkg manager) or not visible to the build process (check your include path).
Offending:
That is the linux header for the socketcan API.
BR
Please install the Linux kernel headers package too. I believe it is called linux-headers on Alpine. E.g. https://pkgs.alpinelinux.org/package/edge/main/x86/linux-headers
I'm not entirely sure why this fails, but this image fails to build on the official
node:lts-alpine
image.Dockerfile:
Log: