From 7a72bf3f78f56c77d19079ff1d2a9a5414e420dd Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 29 Apr 2016 19:12:20 -0700 Subject: [PATCH] select mysql 5.7 --- baseimage/initializeBaseUbuntuImage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/baseimage/initializeBaseUbuntuImage.sh b/baseimage/initializeBaseUbuntuImage.sh index 2b2e2980f..70867b388 100644 --- a/baseimage/initializeBaseUbuntuImage.sh +++ b/baseimage/initializeBaseUbuntuImage.sh @@ -191,8 +191,8 @@ apt-get -y install build-essential rcconf echo "==== Install mysql ====" debconf-set-selections <<< 'mysql-server mysql-server/root_password password password' debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password password' -apt-get -y install mysql-server -[[ "$(mysqld --version 2>&1)" == *"5.6."* ]] || die "Expecting nginx version to be 5.6.x" +apt-get -y install mysql-server-5.7 +[[ "$(mysqld --version 2>&1)" == *"5.7."* ]] || die "Expecting mysql version to be 5.7.x" echo "==== Install pwgen and swaks awscli ====" apt-get -y install pwgen swaks awscli