Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creation of image using default Debian docker file fails with error "Unable to locate package mysql-community-client" #17

Open
debashish-github opened this issue Apr 7, 2022 · 1 comment

Comments

@debashish-github
Copy link

I am trying to install the docker image from scratch using the 3.11.0 Dockerfile in this repository .
I need to customize the dockerfile for some of my application specific needs.
But when I try to create an image using the Dockefile provided with the other required files ( e.g. Entrypoint.sh and mysql-apt-config_0.8.15-1_all) it first failed with the issue of "7 15.79 W: GPG error: http://repo.mysql.com/apt/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29" . I fixed that issue as can be seen in the attached modified docker file by adding that key to the ubuntu secrets .
But then it keeps failing with the error "Unable to locate package mysql-community-client" on trying to install the same .
I need this because we are using MySQL 8.0 with new authentication mechanism that is not supported in the alpine images.

Is there any replacement installation for mysql-community-client that is part of apt repository ?
I am stuck currently because of this . So any help is appreciated !

Thanks
Dockerfile - Copy.txt

@cturczynskyj
Copy link
Collaborator

I don't know if you have seen this already, but the readme has a Known Limitations section that documents MySQL 8.0 auth limitations. The easiest route, if possible, would be to use one of the non-alpine based images as those all work fine with the new MySQL 8.0 auth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants