From ec5d88f295ee9180f5d1726f7919139dedf70adf Mon Sep 17 00:00:00 2001 From: jiriks74 Date: Thu, 18 Jan 2024 15:01:25 +0100 Subject: [PATCH] fix(bz2-php): Missing PHP bz2 module in upstream image fixes `This instance is missing some recommended PHP modules. For improved performance and better compatibility it is highly recommended to install them: bz2` --- Dockerfile | 3 ++- README.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e3b50ac..20d9ee6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM nextcloud:28.0.1 LABEL maintainer="Jiří Štefka " -RUN apt update && apt upgrade -y --no-install-recommends && apt install ffmpeg aria2 youtube-dl libmagickcore-dev -y --no-install-recommends +RUN apt update && apt upgrade -y --no-install-recommends && apt install ffmpeg aria2 youtube-dl libmagickcore-dev libbz2-dev -y --no-install-recommends +RUN docker-php-ext-install bz2 RUN apt clean && rm -rf /var/lib/apt/lists/* diff --git a/README.md b/README.md index 0088823..3cb71e9 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Nextcloud's docker image with extra utilities - `ffmpeg` - Used by [Video converter](https://github.com/PaulLereverend/NextcloudVideo_Converter) app - `aria2` and `youtube-dl` - Used by [NCDownloader](https://github.com/shiningw/ncdownloader) app - `libmagickcore-dev` - To fix `Module php-imagick in this instance has no SVG support` error +- `libbz2-dev` PHP module - To fix `This instance is missing some recommended PHP modules. For improved performance and better compatibility it is highly recommended to install them: bz2` ## Tips