Skip to content

Commit

Permalink
Improve remote catalog of available binaries
Browse files Browse the repository at this point in the history
Changed installation scripts to launch MySQL client when the server is
ready
  • Loading branch information
datacharmer committed Sep 11, 2016
1 parent c667b68 commit 9d92e39
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ The images created by this software aim at deploying a MySQL server from several
There are several images **datacharmer/mysql-minimal** with version 5.0, 5.1, 5.5, 5.6, and 5.7.
Each image contains the latest tarball (or a very recent one) for the corresponding version.

As of its first release (June 2016) we have:
As of its first release (June-September 2016) we have:

* 5.0.96
* 5.1.72
* 5.5.50
* 5.6.31
* 5.7.13
* 5.5.52
* 5.6.33
* 5.7.15
* 8.0.00

The reduced tarballs are a cherrypick of tarballs distributed by MySQL, with only the files strictly needed to run a server, and the debug information stripped out. (See [distro-resize](https://github.com/datacharmer/mysql-docker-sandbox/tree/master/distro-resize) for more info.)

Expand All @@ -37,7 +38,6 @@ Each one of these images has initialization code that can install a server from

$ docker run -ti --volumes-from my_bin --name mybox datacharmer/my-ubuntu bash
.
root@46e020b51741:/# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3
Server version: 5.7.13 MySQL Community Server (GPL)
Expand Down
6 changes: 6 additions & 0 deletions dbdata/available.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
5.0 = 5.0.96
5.1 = 5.1.72
5.5 = 5.5.51 5.5.52
5.6 = 5.6.32 5.6.33
5.7 = 5.7.14 5.7.15
8.0 = 8.0.0
1 change: 1 addition & 0 deletions install_5_7.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ echo ''

echo 'export PATH=/usr/local/mysql/bin:$PATH' > /etc/profile.d/mysql.sh
cp $EXECDIR/dot_my_cnf $HOME/.my.cnf
/usr/local/mysql/bin/mysql
1 change: 1 addition & 0 deletions install_up_to_5_6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ echo ''

echo 'export PATH=/usr/local/mysql/bin:$PATH' > /etc/profile.d/mysql.sh
cp $EXECDIR/dot_my_cnf $HOME/.my.cnf
/usr/local/mysql/bin/mysql

0 comments on commit 9d92e39

Please sign in to comment.