Skip to content

recent update to Alpine Images breaks Node/NPM #537

@ZARk-be

Description

@ZARk-be

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 ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions