Last active
October 7, 2015 04:51
-
-
Save yoku0825/9f76b7f112bc89903999 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM yoku0825/cent66:init | |
RUN echo "NETWORKING=yes" > /etc/sysconfig/network | |
RUN yum install -y which | |
RUN rpm -ivh http://packages.groonga.org/centos/groonga-release-1.1.0-1.noarch.rpm | |
RUN rpm -ivh http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm | |
RUN yum install -y mysql-community-mroonga groonga-tokenizer-mecab | |
RUN service mysqld start && mysql -e "GRANT ALL ON *.* TO root@'%' WITH GRANT OPTION" | |
EXPOSE 3306 | |
ENTRYPOINT /usr/sbin/mysqld --user=mysql | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment