Skip to content

Commit 32a8ef6

Browse files
committed
Update to use mariadb 10.1 instead of mysql 5.5.
1 parent 786842e commit 32a8ef6

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ RUN yum -y install yum-utils
2727
RUN yum-config-manager --enable remi
2828
RUN yum-config-manager --enable remi-php56
2929

30-
# Install mysql
30+
# Install mariadb 10.1
31+
RUN cd /etc/yum.repos.d/
32+
RUN wget https://github.com/DeepskyLog/Docker/blob/master/MariaDB101.repo
3133
RUN yum -y install mysql mysql-devel mysql-server compat-mysql51
3234

3335
# Install php 5.6

MariaDB101.repo

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# MariaDB 10.0 CentOS repository list - created 2014-10-10 17:33 UTC
2+
# http://mariadb.org/mariadb/repositories/
3+
[mariadb]
4+
name = MariaDB
5+
baseurl = http://yum.mariadb.org/10.1/centos6-amd64
6+
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
7+
gpgcheck=1

mysql-container/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Dockerfile that modifies ringo/scientific to create a data volumne container.
1+
# Dockerfile that modifies ringo/scientific to create a data volume container.
22
FROM ringo/scientific:6.6
33
MAINTAINER Wim De Meester <[email protected]>
44
RUN mkdir -p /var/lib/mysql

0 commit comments

Comments
 (0)