Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Pipeline docker build fails but works locally

I have a docker image I want to build through pipelines. I ran some builds locally to remove any bugs and it all builds fine, but on the pipeline, it constantly throws an error trying to find the stable release file.

The docker file:

FROM node:12

ENV NODE_PATH=/usr/local/lib/node_modules

RUN apt-get update 

RUN npm i npm@latest -g 

RUN wget -q -O - | apt-key add - 

RUN sh -c 'echo "deb [arch=amd64] stable main" >> /etc/apt/sources.list.d/google.list' 

RUN apt-get update && apt-get install -y google-chrome-unstable

RUN npm install -g puppeteer karma karma-jasmine karma-chrome-launcher karma-coverage karma-ng-html2js-preprocessor karma-requirejs karma-cli
The pipeline error:
E: Failed to fetch 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.


Any ideas why this doesn't run in the pipeline but does locally?

1 answer

0 votes
Mark C Atlassian Team Sep 07, 2021

Hi @Alex White

Thank you for reaching out to the community.

We've seen similar reports as well while downloading packages from on Pipelines.
However, as per our team's findings, it appears to be related to the 3rd party resource DNS
And while they're investigating it suddenly resolved itself without changing anything on our end.

Would it be possible for you to confirm if you're still experiencing the issue as of today?

Mark C

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,229 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you