Report-service build error in Jenkins while creating Docker image #707
-
We are trying to build and deploy the report-service by upgrading the node version. But we are getting below error after multiple Docker file changes also
Docker file:
|
Beta Was this translation helpful? Give feedback.
Answered by
santhosh-tg
Apr 1, 2024
Replies: 1 comment 3 replies
-
Locally, we are able to build the Docker image properly without any error
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@vinukumar-vs The build happens inside docker container.
#9 523.0 npm ERR! request to https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org A complete log of this run can be found in:
From this error its not able to resolve this domain name. We already have the file /etc/docker/daemon.json for dns resolutions. So, this is probably a DNS cache issue.
Restarting the docker daemon helped to fix this.
sudo systemctl restart docker.service
Cc: @gandham-santhosh