I'm building a Docker image in BitBucket Pipeline using:
Dockerfile: (committed at the root of my repository; code simplified)
# Install dependencies
RUN apt-get update && apt-get install -y mysql-client
- docker build .
This used to work fine for months, until last week where my build in BitBucket Pipeline started to fail with "
E: Package 'mysql-client' has no installation candidate".
However if I build this Docker image on my local machine, apt-get finds/installs the package successfully.
Tried with the latest php:7.3-fpm to no avail. Tried with ubuntu:xenial to no avail. They all build locally but not in BitBucket Pipeline. Tried using the default BitBucket Pipeline Docker image rather than atlassian/pipelines-awscli, same failure.
Any idea how to fix this?
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
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