File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ENV WWWUSER 1000
8
8
ENV APACHE_DOCUMENT_ROOT /var/www/html/public
9
9
ENV USERNAME www-data
10
10
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
12
12
13
13
#install packages for working with images. libraries like https://image.intervention.io/ need this.
14
14
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
18
18
RUN pecl install redis && docker-php-ext-enable redis
19
19
20
20
# 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
23
23
24
24
#install composer
25
25
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
41
41
# scheduler
42
42
RUN echo "* * * * * www-data /usr/local/bin/php /var/www/html/artisan schedule:run >> /dev/null 2>&1" > /etc/cron.d/scheduler
43
43
RUN chmod 0644 /etc/cron.d/scheduler \
44
- && crontab /etc/cron.d/scheduler
44
+ && crontab /etc/cron.d/scheduler
45
45
46
46
COPY start-container /usr/local/bin/start-container
47
47
RUN chmod +x /usr/local/bin/start-container
You can’t perform that action at this time.
0 commit comments