Skip to content

Cannot apt install mysql-anything #819

Closed
@oojacoboo

Description

@oojacoboo

I find it really strange that these Docker containers are so stripped down and bare that it takes all kinds of shell gymnastics to do anything.

Firstly, there isn't even curl or wget installed. Fine, whatever, you want to keep these images lean - I get it. apt install mysql-shell - nope, no repository. Why would you guys ship a Docker container that can't even use apt to install mysql packages?

apt update
apt install wget
wget https://dev.mysql.com/get/mysql-apt-config_0.8.22-1_all.deb
dpkg -i mysql-apt-config_0.8.22-1_all.deb
apt update
apt install mysql-shell

Previous images didn't even have a GPG signature to access the mysql sources. That was fixed a couple weeks ago, I see. However, the older versioned Docker containers are still broken. So, if you want version parity with Amazon Aurora, for instance, you have to used a broken Docker image. You can't easily download the GPG key either b/c you don't have curl or wget available. And you can't install them because of the circular dependency to the GPG signature.

It's all been quite a mess. I'm just really confused. Does anyone actually use these images and build on them, or are they just considered to be stand-alone binaries here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions