A Docker error in Pipelines

My Pipelines builds have worked just fine until today. Now I get this error in every build:

rpc error: code = Unknown desc = no supported platform found in manifest list

I use this docker image in my bitbucket-pipelines.yml:

image: maven:3-jdk-8-alpine

Pipelines does not produce any logs, just that error. Pipelines online validator (https://bitbucket-pipelines.atlassian.io/validator) tells me that the syntax is okay.

How do I fix this?

2 answers

1 accepted

Okay, it seems that the problem is in Docker image maven:3-jdk-8-alpine. Using maven:3-jdk-8 the builds work and the problem is solved. Nothing to do with Pipelines.

This issue is now fixed in docker-maven (https://github.com/carlossg/docker-maven/issues/53) and maven:3-jdk-8-alpine also works again.

Today my builds get pass that previous error but bump into another one during Maven build:

No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

This is still weird because these builds have worked since yesterday just fine. Is there a bug in that Docker image.. or in Pipelines.. maybe Google will tell me...

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,944 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