Hello,
I have a Dockerfile and the build runs fine locally but when I run the build in bitbucket pipleline, it fails.
The command it tries to run is
[application 9/10] RUN composer dump-autoload --optimize
#28 sha256:4d09a23973b2d059ce40d8ec95ef0d2b47fb823ee724b988094850bbe67856cd
#28 0.165 exec /bin/sh: exec format error
#28 ERROR: process "/bin/sh -c composer dump-autoload --optimize" did not complete successfully: exit code: 1
------
> [application 9/10] RUN composer dump-autoload --optimize:
------
process "/bin/sh -c composer dump-autoload --optimize" did not complete successfully: exit code: 1
Hi @Shyam,
We would need some additional information in order to debug this:
Since your workspace is on the Standard plan, I suggest creating a ticket with the support team (instead of posting this info here publicly). The support ticket will be visible only to you and Atlassian staff and you can share the URL of the failed build for further investigation.
You can create a ticket via https://support.atlassian.com/contact/#/, in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as product. When you are asked to provide the workspace URL, please make sure you enter the URL of the workspace that is on a paid billing plan to proceed with ticket creation.
Kind regards,
Theodora
Hello @Theodora Boudale ,
Thank you I have created the support ticket and attached the dockerfiles and bitbucket.yml file .
The ticket ID is BBS-218508 .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Shyam, I can see the ticket. One of my colleagues will help you troubleshoot this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.