recent update to Alpine Images breaks Node/NPM
Hello
All of a sudden our ci/cd stopped working.
FROM webdevops/php-nginx:8.3-alpine
RUN apk add --no-cache bash npm
with node clearly missing a lib
20 [stage-0 14/16] RUN npm install
#20 0.212 Error relocating /usr/bin/node: sqlite3session_attach: symbol not found
#20 0.212 Error relocating /usr/bin/node: sqlite3changeset_apply: symbol not found
#20 0.212 Error relocating /usr/bin/node: sqlite3session_create: symbol not found
#20 0.212 Error relocating /usr/bin/node: sqlite3session_changeset: symbol not found
#20 0.213 Error relocating /usr/bin/node: sqlite3session_patchset: symbol not found
#20 0.213 Error relocating /usr/bin/node: sqlite3session_delete: symbol not found
adding sqlite-dev packages fixed the issue. But i guess it should have been pulled automatically by node ?
Jep, having the same problem.
We're having the same issue exactly with the latest dev image.
same issue with FROM webdevops/php-nginx:8.1-alpine
same issue with FROM webdevops/php-nginx-dev:8.1-alpine
With the APK upgrade working well, we will use this solution for the moment.
RUN apk update && apk upgrade && apk add --no-cache nodejs