Skip to content

Dockerfile build quorum-k8s-hooks fails #258

@rhuiser

Description

@rhuiser

When trying to build the Docker image:

docker build -t quorum-k8s-hooks:qgt-0.2.15 quorum-kubernetes

this fails with:

40.06 Setting up nodejs (18.20.6-1nodesource1) ...
41.14 npm error code EBADENGINE
41.14 npm error engine Unsupported engine
41.14 npm error engine Not compatible with your version of node/npm: [email protected]
41.14 npm error notsup Not compatible with your version of node/npm: [email protected]
41.14 npm error notsup Required: {"node":"^20.17.0 || >=22.9.0"}
41.14 npm error notsup Actual:   {"npm":"10.8.2","node":"v18.20.6"}
41.14 npm error A complete log of this run can be found in: /root/.npm/_logs/2025-07-10T09_20_13_280Z-debug-0.log

Issue workaround is to update the line in the Dockerfile of the 1st RUN command:

<...>
npm install -g npm@latest

to:

<...>
npm install -g npm

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