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

Test scripts extending the image in OpenShift #255

Open hhorak opened 5 years ago

hhorak commented 5 years ago

For example the "extend-image" example can be tested like this:

 oc new-app mysql:5.7~https://github.com/sclorg/mysql-container.git \
   --context-dir=examples/extend-image \
   --name my-mysql-rhel7d \
   MYSQL_OPERATIONS_USER=opuser \
   MYSQL_OPERATIONS_PASSWORD=oppass \
   MYSQL_DATABASE=opdb \
   MYSQL_USER=user \
   MYSQL_PASSWORD=pass

After this, connecting using opuser:oppass should work.