Как я могу удовлетворить требования libmysqlclient-dev для "docker-compose up" на Mint Tara? - PullRequest
0 голосов
/ 19 февраля 2019

У меня есть:

# docker-compose up
Building app
Step 1/6 : FROM python:3
 ---> ac069ebfe1e1
Step 2/6 : RUN apt-get update     && apt-get install -y --no-install-recommends         mysql-client libmysqlclient-dev
 ---> Running in 86873856ecc6
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://security.debian.org/debian-security stretch/updates InRelease [94.3 kB]
Get:3 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Get:4 http://deb.debian.org/debian stretch Release [118 kB]
Get:5 http://deb.debian.org/debian stretch Release.gpg [2434 B]
Get:6 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [474 kB]
Get:7 http://deb.debian.org/debian stretch-updates/main amd64 Packages [7748 B]
Get:8 http://deb.debian.org/debian stretch/main amd64 Packages [7084 kB]
Fetched 7871 kB in 2s (3716 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Package libmysqlclient-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libmysqlclient-dev' has no installation candidate
ERROR: Service 'app' failed to build: The command '/bin/sh -c apt-get update     && apt-get install -y --no-install-recommends         

mysql-client libmysqlclient-dev' returned a non-zero code: 100

Это происходит в Linux Mint 19.1 Tara как с установленным libmysqlclient-dev, так и с default-libmysqlclient-dev.

В противном случае библиотека успешно установлена, но когда я запускаю docker-compose up, он выдает ошибку, утверждая, что для libmysqlclient-dev.

нет кандидата для установки. Что мне нужно сделать, чтобы Docker Compose запускался с формой libmysqlcient-devчем он доволен?

Спасибо ...

...