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?
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
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