Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mysql-8.0/Dockerfile: Update Mroonga and Groonga versions #86

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

abetomo
Copy link
Contributor

@abetomo abetomo commented Nov 13, 2024

When mysql-community-8.0-mroonga is installed, mysql-community-server is installed as a dependency.
At that time, the initialization process is also executed, and the initialization process of docker-entrypoint.sh is not executed.
Therefore, rm -rf /var/lib/mysql is added.

Removed sed since install.sql no longer contains MRN_DATA_DIR.

@@ -22,6 +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 && \
rm -rf /var/lib/mysql && \
sed \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

これも消せる?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

消せました。

When mysql-community-8.0-mroonga is installed, mysql-community-server is installed as a dependency.
At that time, the initialization process is also executed, and the initialization process of `docker-entrypoint.sh` is not executed.
Therefore, `rm -rf /var/lib/mysql` is added.
Removed `sed` since `install.sql` no longer contains MRN_DATA_DIR.
@abetomo abetomo force-pushed the update-mysql-8-dockerfile branch from 6c1518b to 527736e Compare November 13, 2024 02:35
@kou kou merged commit 5e9f30c into mroonga:master Nov 13, 2024
1 check passed
@abetomo abetomo deleted the update-mysql-8-dockerfile branch November 13, 2024 02:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants