From today, my build fail on an unexpected EOF, without any commits

Hello, I didn't make any changes on the code, and a bug appears during the bitbucket pipelines deployment.

I hit rerun on one of my old commits that worked yesterday, and the builds fails today.

Screen Shot 2018-01-23 at 16.58.26.png

This is where it fails, on a yarn run build during the build of the dockerfile.

I tried to put size : 2x in the pipelines options, thinking it was a memory issue, but it didn't change anything.

I think there is something wrong with the update we had on deployment but I can't find it.

1 answer

0 vote


Hi Basile, I've seen you replied in our bug tracker:


Here is the work around for the moment :

Make your build inside the bitbucket pipelines, and then just take this build directory you have, and create your docker container adding this build directory inside.

Size 2x works for bitbucket pipelines service but not for the docker container inside. The docker containers are blocked to 1gb of ram, so you need to make your hardcore build outside of a docker container.

There is a feature request we need to upvote so they can make the docker container size dynamic :

Please keep watching that page for any updates we might have in the future.

Best regards!



Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

1,770 views 1 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you