From dffa2ffab03b3aad1893c718c71003c3d21181a0 Mon Sep 17 00:00:00 2001 From: Jalen Davenport Date: Fri, 26 Jul 2024 11:08:42 -0400 Subject: [PATCH] Add supporting package to fix mysql cli in php images Reference: https://github.com/craftcms/docker/issues/19 --- composer/1.10/Dockerfile | 1 + composer/2.7/Dockerfile | 1 + php/7.4-cli/Dockerfile | 1 + php/7.4-fpm/Dockerfile | 1 + php/8.0-cli/Dockerfile | 1 + php/8.0-fpm/Dockerfile | 1 + php/8.1-cli/Dockerfile | 1 + php/8.1-fpm/Dockerfile | 1 + php/8.2-cli/Dockerfile | 1 + php/8.2-fpm/Dockerfile | 1 + php/8.3-cli/Dockerfile | 1 + php/8.3-fpm/Dockerfile | 1 + 12 files changed, 12 insertions(+) diff --git a/composer/1.10/Dockerfile b/composer/1.10/Dockerfile index 6c3f16d..d0bea28 100644 --- a/composer/1.10/Dockerfile +++ b/composer/1.10/Dockerfile @@ -24,6 +24,7 @@ RUN apk add --no-cache --virtual .build-deps \ libpng \ libxml2 \ libzip \ + mariadb-connector-c \ mysql-client \ zip \ # Pecl extensions diff --git a/composer/2.7/Dockerfile b/composer/2.7/Dockerfile index 01564cc..1056aea 100644 --- a/composer/2.7/Dockerfile +++ b/composer/2.7/Dockerfile @@ -24,6 +24,7 @@ RUN apk add --no-cache --virtual .build-deps \ libpng \ libxml2 \ libzip \ + mariadb-connector-c \ mysql-client \ zip \ # Pecl extensions diff --git a/php/7.4-cli/Dockerfile b/php/7.4-cli/Dockerfile index fc13f9c..1915e78 100644 --- a/php/7.4-cli/Dockerfile +++ b/php/7.4-cli/Dockerfile @@ -24,6 +24,7 @@ RUN apk add --no-cache --virtual .build-deps \ libpng \ libxml2 \ libzip \ + mariadb-connector-c \ mysql-client \ zip \ # Pecl extensions diff --git a/php/7.4-fpm/Dockerfile b/php/7.4-fpm/Dockerfile index a479a6a..e31801c 100644 --- a/php/7.4-fpm/Dockerfile +++ b/php/7.4-fpm/Dockerfile @@ -24,6 +24,7 @@ RUN apk add --no-cache --virtual .build-deps \ libpng \ libxml2 \ libzip \ + mariadb-connector-c \ mysql-client \ zip \ # Pecl extensions diff --git a/php/8.0-cli/Dockerfile b/php/8.0-cli/Dockerfile index d6dfea2..bde6cda 100644 --- a/php/8.0-cli/Dockerfile +++ b/php/8.0-cli/Dockerfile @@ -24,6 +24,7 @@ RUN apk add --no-cache --virtual .build-deps \ libpng \ libxml2 \ libzip \ + mariadb-connector-c \ mysql-client \ zip \ # Pecl extensions diff --git a/php/8.0-fpm/Dockerfile b/php/8.0-fpm/Dockerfile index 1910969..2a024bf 100644 --- a/php/8.0-fpm/Dockerfile +++ b/php/8.0-fpm/Dockerfile @@ -24,6 +24,7 @@ RUN apk add --no-cache --virtual .build-deps \ libpng \ libxml2 \ libzip \ + mariadb-connector-c \ mysql-client \ zip \ # Pecl extensions diff --git a/php/8.1-cli/Dockerfile b/php/8.1-cli/Dockerfile index 40906be..e78e613 100644 --- a/php/8.1-cli/Dockerfile +++ b/php/8.1-cli/Dockerfile @@ -24,6 +24,7 @@ RUN apk add --no-cache --virtual .build-deps \ libpng \ libxml2 \ libzip \ + mariadb-connector-c \ mysql-client \ zip \ # Pecl extensions diff --git a/php/8.1-fpm/Dockerfile b/php/8.1-fpm/Dockerfile index a959f76..e31197d 100644 --- a/php/8.1-fpm/Dockerfile +++ b/php/8.1-fpm/Dockerfile @@ -24,6 +24,7 @@ RUN apk add --no-cache --virtual .build-deps \ libpng \ libxml2 \ libzip \ + mariadb-connector-c \ mysql-client \ zip \ # Pecl extensions diff --git a/php/8.2-cli/Dockerfile b/php/8.2-cli/Dockerfile index 5633cb3..e2cd615 100644 --- a/php/8.2-cli/Dockerfile +++ b/php/8.2-cli/Dockerfile @@ -24,6 +24,7 @@ RUN apk add --no-cache --virtual .build-deps \ libpng \ libxml2 \ libzip \ + mariadb-connector-c \ mysql-client \ zip \ # Pecl extensions diff --git a/php/8.2-fpm/Dockerfile b/php/8.2-fpm/Dockerfile index 568a6f0..fb1e230 100644 --- a/php/8.2-fpm/Dockerfile +++ b/php/8.2-fpm/Dockerfile @@ -24,6 +24,7 @@ RUN apk add --no-cache --virtual .build-deps \ libpng \ libxml2 \ libzip \ + mariadb-connector-c \ mysql-client \ zip \ # Pecl extensions diff --git a/php/8.3-cli/Dockerfile b/php/8.3-cli/Dockerfile index 3bebab5..84cf927 100644 --- a/php/8.3-cli/Dockerfile +++ b/php/8.3-cli/Dockerfile @@ -24,6 +24,7 @@ RUN apk add --no-cache --virtual .build-deps \ libpng \ libxml2 \ libzip \ + mariadb-connector-c \ mysql-client \ zip \ # Pecl extensions diff --git a/php/8.3-fpm/Dockerfile b/php/8.3-fpm/Dockerfile index 81eb543..e6f3b46 100644 --- a/php/8.3-fpm/Dockerfile +++ b/php/8.3-fpm/Dockerfile @@ -24,6 +24,7 @@ RUN apk add --no-cache --virtual .build-deps \ libpng \ libxml2 \ libzip \ + mariadb-connector-c \ mysql-client \ zip \ # Pecl extensions