sclorg / mysql-container

MySQL container images based on Red Hat Software Collections and intended for OpenShift and general usage. Users can choose between Red Hat Enterprise Linux, Fedora, and CentOS based images.
http://softwarecollections.org
Apache License 2.0
128 stars 201 forks source link

Add a test in Dockerfile directly to check mysql version #351

Closed phracek closed 8 months ago

phracek commented 8 months ago

Add a test in Dockerfile directly to check mysql version

Otherwise when a wrong stream is installed, it's only found by scl test, which is too late in the process.

phracek commented 8 months ago

The functionality is added to RUN section after 'container-setup' because of capabilities https://github.com/sclorg/mysql-container/blob/master/root-common/usr/libexec/container-setup#L61

[test]

phracek commented 8 months ago

Failed test for RHEL7 is fixed by 8fc9a43

[test]