Skip to content

Docker container fails with node:alpine when calling bcrypt #114

Description

@arsanjea

Known node:alpine bug on Google App Engine - I get a segmentation fault with a node server restart after calling:
bcrypt.hash("abc@abc.com", 10)

Adding the following towards the end of Dockerfile fixes the issue (requires ephemeral packages to be kept until the following operation is completed).
RUN npm rebuild bcrypt --build-from-source

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions