Skip to content

Commit 8d36f43

Browse files
committed
add zip extension
1 parent ed7b5f0 commit 8d36f43

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mnr_docker/php/8.3/dockerfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ENV WWWUSER 1000
88
ENV APACHE_DOCUMENT_ROOT /var/www/html/public
99
ENV USERNAME www-data
1010

11-
RUN apt-get update -y && apt-get install -y cron supervisor unzip
11+
RUN apt-get update -y && apt-get install -y cron supervisor unzip libzip-dev
1212

1313
#install packages for working with images. libraries like https://image.intervention.io/ need this.
1414
RUN apt-get install -y libpng-dev libjpeg-dev libwebp-dev libfreetype6-dev libjpeg62-turbo-dev
@@ -18,8 +18,8 @@ RUN docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp
1818
RUN pecl install redis && docker-php-ext-enable redis
1919

2020
# install and enable mysqli db requirements
21-
RUN docker-php-ext-install mysqli pdo pdo_mysql gd
22-
RUN docker-php-ext-enable mysqli pdo pdo_mysql gd
21+
RUN docker-php-ext-install mysqli pdo pdo_mysql gd zip
22+
RUN docker-php-ext-enable mysqli pdo pdo_mysql gd zip
2323

2424
#install composer
2525
ADD --chmod=0755 https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
@@ -41,7 +41,7 @@ COPY 000-default.conf /etc/apache2/sites-available
4141
# scheduler
4242
RUN echo "* * * * * www-data /usr/local/bin/php /var/www/html/artisan schedule:run >> /dev/null 2>&1" > /etc/cron.d/scheduler
4343
RUN chmod 0644 /etc/cron.d/scheduler \
44-
&& crontab /etc/cron.d/scheduler
44+
&& crontab /etc/cron.d/scheduler
4545

4646
COPY start-container /usr/local/bin/start-container
4747
RUN chmod +x /usr/local/bin/start-container

0 commit comments

Comments
 (0)