Hi there,
I'm building a Docker image in BitBucket Pipeline using:
Dockerfile: (committed at the root of my repository; code simplified)
FROM php:7.2-fpm
# Install dependencies
RUN apt-get update && apt-get install -y mysql-client
and bitbucket-pipelines.yml:
image: atlassian/pipelines-awscli
pipelines:
branches:
develop:
- step:
script:
- 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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.