diff --git a/mysql-8.0/Dockerfile b/mysql-8.0/Dockerfile index b0a80fb..3b6f763 100644 --- a/mysql-8.0/Dockerfile +++ b/mysql-8.0/Dockerfile @@ -1,7 +1,7 @@ -FROM mysql:8.0.30-debian +FROM mysql:8.0.40-debian -ENV groonga_version=12.0.6 \ - mroonga_version=12.06 +ENV groonga_version=14.1.0 \ + mroonga_version=14.10 RUN mkdir -p /etc/mysql/mysql.conf.d && \ touch /etc/mysql/mysql.conf.d/default-auth-override.cnf && \ @@ -22,10 +22,7 @@ RUN mkdir -p /etc/mysql/mysql.conf.d && \ groonga-normalizer-mysql \ groonga-tokenizer-mecab=${groonga_version}-1 \ mysql-community-8.0-mroonga=${mroonga_version}-1 && \ - sed \ - -i'' \ - -e 's,@MRN_DATA_DIR@,/usr/share/mroonga,g' \ - /usr/share/mroonga/install.sql && \ + rm -rf /var/lib/mysql && \ apt clean && \ rm -rf /var/lib/apt/lists/* @@ -37,6 +34,6 @@ RUN mkdir -p /docker-entrypoint-mroonga-initdb.d && \ -e 's,docker_process_init_files /,docker_process_init_files /docker-entrypoint-mroonga-initdb.d/* /,g' \ /usr/local/bin/docker-entrypoint.sh -# mysql:8.0.30 image has DB in /var/lib/mysql/. +# mysql:8.0.40 image has DB in /var/lib/mysql/. # This clears /var/lib/mysql/ to ensure creating a new DB on "docker run". VOLUME ["/var/lib/mysql"]