We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4442739 commit 5b02731Copy full SHA for 5b02731
common/Dockerfile
@@ -33,8 +33,9 @@ RUN apk add --no-cache --virtual .buildtools npm make gcc g++ linux-headers udev
33
pnpm run build && \
34
rm -rf node_modules && \
35
pnpm install --frozen-lockfile --no-optional --unsafe-perm --prod && \
36
- # Serialport needs to be rebuild for Alpine https://serialport.io/docs/9.x.x/guide-installation#alpine-linux
37
- pnpm rebuild
+ # serialport has outdated prebuilds that appear to fail on some archs, force build on target platform
+ rm -rf `find ./node_modules/.pnpm/ -wholename "*/@serialport/bindings-cpp/prebuilds" -type d` && \
38
+ pnpm rebuild @serialport/bindings-cpp
39
40
# Release
41
FROM base as release
0 commit comments