mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 19:51:09 -04:00
add mariadb-client to fix backups
This commit is contained in:
11
Dockerfile
11
Dockerfile
@ -12,18 +12,19 @@ RUN apt-get update && apt-get install -y \
|
|||||||
libonig-dev \
|
libonig-dev \
|
||||||
libxml2-dev \
|
libxml2-dev \
|
||||||
zip \
|
zip \
|
||||||
unzip \
|
unzip \
|
||||||
libzip-dev \
|
libzip-dev \
|
||||||
libmagickwand-dev
|
libmagickwand-dev \
|
||||||
|
mariadb-client
|
||||||
|
|
||||||
# Clear cache
|
# Clear cache
|
||||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
RUN pecl install imagick \
|
RUN pecl install imagick \
|
||||||
&& docker-php-ext-enable imagick
|
&& docker-php-ext-enable imagick
|
||||||
|
|
||||||
# Install PHP extensions
|
# Install PHP extensions
|
||||||
RUN docker-php-ext-install pdo_mysql mbstring zip exif pcntl bcmath gd
|
RUN docker-php-ext-install pdo_mysql mbstring zip exif pcntl bcmath gd
|
||||||
|
|
||||||
# Get latest Composer
|
# Get latest Composer
|
||||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
|
||||||
|
|||||||
Reference in New Issue
Block a user