From 39485b0025cdc32ebc8cdb929aa9ace3665792ce Mon Sep 17 00:00:00 2001 From: louispt1 Date: Tue, 10 Dec 2024 18:47:38 +0100 Subject: [PATCH] Trying a symlink from MariaDB to MySQL --- Dockerfile.production | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile.production b/Dockerfile.production index c1d7e0c..eb68959 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -15,6 +15,9 @@ RUN apt-get update -qq && apt-get install -yq --no-install-recommends \ # ENV BUNDLE_BUILD__MYSQL2="--with-mysql-config=/usr/bin/mysql_config" # ENV LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH +# Symlink MariaDB to MySQL +RUN ln -s /usr/lib/x86_64-linux-gnu/libmariadb.so /usr/lib/x86_64-linux-gnu/libmysqlclient.so.21 + # Install Bundler RUN gem update --system && gem install bundler