From: Stephen Finucane Date: Wed, 23 Feb 2022 12:47:33 +0000 (+0000) Subject: docker: Use mariadb-client, not mysql-client X-Git-Tag: v3.1.0~44 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa379a44bc2d30cb3629f0c6f379b337cede67eb;p=thirdparty%2Fpatchwork.git docker: Use mariadb-client, not mysql-client As noted in [1], use of mysql-client with mariadb-server can result in the following errors: mysqldump: Couldn't execute 'SELECT COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"') FROM information_schema.COLUMN_STATISTICS WHERE SCHEMA_NAME =3D 'patchwork' AND TABLE_NAME =3D 'auth_group';': Unknown table 'COLUMN_STATISTICS' in information_schema (1109) Use the correct client for the backend. [1] https://stackoverflow.com/a/67563944/613428 Signed-off-by: Stephen Finucane --- diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 3653d4e7..8680957f 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -21,10 +21,10 @@ RUN rm -f /etc/localtime; ln -s /usr/share/zoneinfo/$TZ /etc/localtime RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential \ - libmysqlclient-dev \ + libmariadbclient-dev \ libpq-dev \ libsqlite3-dev \ - mysql-client \ + mariadb-client \ postgresql-client \ tzdata \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*