Skip to content

Commit ef9c8a4

Browse files
committed
Install mysql-community-client instead of mysql-community-client-core
The core package is missing certain utilities user may way, and using it doesn't save all that much in image size
1 parent 333935a commit ef9c8a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

8.0/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ RUN { \
5858
echo mysql-community-server mysql-community-server/re-root-pass password ''; \
5959
echo mysql-community-server mysql-community-server/remove-test-db select false; \
6060
} | debconf-set-selections \
61-
&& apt-get update && apt-get install -y mysql-community-client-core="${MYSQL_VERSION}" mysql-community-server-core="${MYSQL_VERSION}" && rm -rf /var/lib/apt/lists/* \
61+
&& apt-get update && apt-get install -y mysql-community-client="${MYSQL_VERSION}" mysql-community-server-core="${MYSQL_VERSION}" && rm -rf /var/lib/apt/lists/* \
6262
&& rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld \
6363
&& chown -R mysql:mysql /var/lib/mysql /var/run/mysqld \
6464
# ensure that /var/run/mysqld (used for socket and lock files) is writable regardless of the UID our mysqld instance ends up having at runtime

0 commit comments

Comments
 (0)