This repository was archived by the owner on Jul 28, 2024. It is now read-only.
This repository was archived by the owner on Jul 28, 2024. It is now read-only.
Error installing node.js: The Node.js binary could not be verified. #214
Closed
Description
When I run the build I receive the following error:
Sending build context to Docker daemon 75MB
Step 1/15 : FROM launcher.gcr.io/google/nodejs
---> d8132d024114
Step 2/15 : RUN install_node v12.16.2
---> Running in 80fefff9837f
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 22.0M 100 22.0M 0 0 8969k 0 0:00:02 0:00:02 --:--:-- 8969k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4029 100 4029 0 0 11964 0 --:--:-- --:--:-- --:--:-- 11991
gpg: Signature made Wed Apr 8 19:22:22 2020 UTC using RSA key ID 5599653C gpg: Can't check signature: public key not found
The Node.js binary could not be verified.
This means it may not be an officially released Node.js binary
or may have been tampered with.
Aborting the installation.
The installation can be forced using the --ignore-verification-failure
flag. However, it is strongly recommended that you install a version
of Node.js that can be verified.
Node installation failed: /opt/gcp/runtime/bootstrap_node exited with a non-zero exit code: 1
The command '/bin/sh -c install_node v12.16.2' returned a non-zero code: 1
I have the following configuration:
# Dockerfile extending the generic Node image with application files for a
# single application.
FROM launcher.gcr.io/google/nodejs
# Check to see if the the version included in the base runtime satisfies
# '>=8.12.0', if not then do an npm install of the latest available
# version that satisfies it.
# RUN /usr/local/bin/install_node '>=12.13.0'
RUN install_node v12.16.2
When I do what is suggested it installs the node:
RUN install_node v12.16.2 --ignore-verification-failure
but clearly there is a problem somewhere.
Metadata
Metadata
Assignees
Labels
No labels