The Dockerfile tries to install the mysql-client package from the debian repositories. This package was renamed to mariadb-client, causing
docker-compose up
to fail with the error:
E: Package 'mysql-client' has no installation candidate
ERROR: Service 'app' failed to build: The command '/bin/sh -c apt-get install -y mysql-client' returned a non-zero code: 100
Renaming 'mysql-client' to 'mariadb-client' in Dockerfile fixes this issue.
The Dockerfile tries to install the mysql-client package from the debian repositories. This package was renamed to mariadb-client, causing
to fail with the error:
Renaming 'mysql-client' to 'mariadb-client' in Dockerfile fixes this issue.