From fd881832aab110fc97d98f0f0fa5386e12a27cee Mon Sep 17 00:00:00 2001 From: Daniel Dolezal Date: Tue, 2 Dec 2025 16:50:47 +0100 Subject: [PATCH] add php zip extension --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1f86c6d..5e0c9e3 100755 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,11 @@ FROM php:8.4-apache ENV TZ=Europe/Vienna RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone -RUN docker-php-ext-install mysqli pdo pdo_mysql +RUN apt-get update && apt-get install -y \ + libzip-dev \ + unzip \ + && docker-php-ext-install zip mysqli pdo pdo_mysql \ + && rm -rf /var/lib/apt/lists/* # Install Composer from the official image COPY --from=composer:2 /usr/bin/composer /usr/bin/composer