Skip to content

great_expectations_action build docker image is failing with incompatible Node.js version #79

@sravantit25

Description

@sravantit25

I am trying to use great_expectations_action to run a simple checkpoint. I found that the action is failing while building Docker image.
The error is:

Step 1/9 : FROM greatexpectations/great_expectations:python-3.7-buster-ge-0.12.0
---> e5c5ee9ede63
Step 2/9 : RUN apt-get update && apt-get install curl nodejs -y
---> Using cache
---> ecb9bf2e6646
Step 3/9 : RUN curl -L https://npmjs.org/install.sh | bash
---> Running in c749f0012987
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100 3755 100 3755 0 0 17224 0 --:--:-- --:--:-- --:--:-- 17224
**fetching: https://registry.npmjs.org/npm/-/npm-8.9.0.tgz
removing existing npm
ERROR: npm is known not to run on Node.js v10.24.0
You'll need to upgrade to a newer Node.js version in order to use this
version of npm. You can find the latest version at https://nodejs.org/
failed!
The command '/bin/sh -c curl -L https://npmjs.org/install.sh | bash' returned a non-zero code: 1

Error: Docker build failed with exit code 1**

ge_action_error_msg_summary

ge_action_error_msg_detail

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