File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 1- FROM php:8.0 -alpine
1+ FROM php:7.4 -alpine
22
3- RUN echo "upload_max_filesize = 128M " >> /usr/local/etc/php/conf.d/0-upload_large_dumps.ini \
3+ RUN echo "upload_max_filesize = 1028M " >> /usr/local/etc/php/conf.d/0-upload_large_dumps.ini \
44&& echo "post_max_size = 128M" >> /usr/local/etc/php/conf.d/0-upload_large_dumps.ini \
55&& echo "memory_limit = 1G" >> /usr/local/etc/php/conf.d/0-upload_large_dumps.ini \
66&& echo "max_execution_time = 600" >> /usr/local/etc/php/conf.d/0-upload_large_dumps.ini \
@@ -21,6 +21,7 @@ RUN set -x \
2121 postgresql-dev \
2222 sqlite-dev \
2323 unixodbc-dev \
24+ bash \
2425 freetds-dev \
2526&& docker-php-ext-configure pdo_odbc --with-pdo-odbc=unixODBC,/usr \
2627&& docker-php-ext-install \
@@ -37,7 +38,19 @@ RUN set -x \
3738 )" \
3839&& apk add --virtual .phpexts-rundeps $runDeps \
3940&& apk del --no-network .build-deps
40- RUN apk update && apk add php8-dev gcc g++ make
41+ RUN apk update && apk add gcc g++ \
42+ make \
43+ openssl \
44+ openssl-dev \
45+ make \
46+ zlib-dev \
47+ gdbm \
48+ libsasl \
49+ snappy \
50+ openrc \
51+ nano \
52+ bash \
53+ $PHPIZE_DEPS
4154# RUN docker-php-ext-install mongodb
4255RUN pecl install mongodb \
4356 && echo "extension=mongodb.so" > $PHP_INI_DIR/conf.d/mongo.ini
You can’t perform that action at this time.
0 commit comments