add php zip extension
Build and Push Docker Container / build-and-push (push) Successful in 3m33s

This commit is contained in:
2025-12-02 16:50:47 +01:00
parent cf2dd86b23
commit fd881832aa
+5 -1
View File
@@ -3,7 +3,11 @@ FROM php:8.4-apache
ENV TZ=Europe/Vienna ENV TZ=Europe/Vienna
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone 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 # Install Composer from the official image
COPY --from=composer:2 /usr/bin/composer /usr/bin/composer COPY --from=composer:2 /usr/bin/composer /usr/bin/composer