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
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder

....sh :  #!/bin/bash source "$(dirname "$0")/common.sh" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables ROLLBAR_ACCESS_TOKEN...

163 views 0 11
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