Compare commits
No commits in common. "d5d2e335bc19bbcf6d964b58b8b990056c9e58ae" and "4f8d01613665abe7206e31a6bba01316a3d5ffd3" have entirely different histories.
d5d2e335bc
...
4f8d016136
2 changed files with 6 additions and 18 deletions
|
@ -1,6 +1,6 @@
|
||||||
FROM php:8.0-apache
|
FROM php:7.4-apache
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 21.0.0
|
ENV NEXTCLOUD_VERSION 20.0.7
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
|
@ -51,6 +51,8 @@ RUN \
|
||||||
dom \
|
dom \
|
||||||
gd \
|
gd \
|
||||||
gmp \
|
gmp \
|
||||||
|
iconv \
|
||||||
|
json \
|
||||||
xmlwriter \
|
xmlwriter \
|
||||||
zip \
|
zip \
|
||||||
pdo_mysql \
|
pdo_mysql \
|
||||||
|
@ -62,20 +64,9 @@ RUN \
|
||||||
CFLAGS="-I/usr/src/php" docker-php-ext-install xmlreader
|
CFLAGS="-I/usr/src/php" docker-php-ext-install xmlreader
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
pecl install -o -f apcu && \
|
pecl install -o -f apcu imagick-beta && \
|
||||||
rm -rf /tmp/pear && \
|
rm -rf /tmp/pear && \
|
||||||
docker-php-ext-enable apcu
|
docker-php-ext-enable apcu imagick
|
||||||
|
|
||||||
# compile imagick from master branch as there isn't any release for php8 yet.
|
|
||||||
ENV IMAGICK_SHA 448c1cd0d58ba2838b9b6dff71c9b7e70a401b90
|
|
||||||
RUN \
|
|
||||||
curl -L -o /tmp/imagick.tar.gz https://github.com/Imagick/imagick/archive/${IMAGICK_SHA}.tar.gz &&\
|
|
||||||
tar --strip-components=1 -xf /tmp/imagick.tar.gz &&\
|
|
||||||
phpize &&\
|
|
||||||
./configure &&\
|
|
||||||
make &&\
|
|
||||||
make install &&\
|
|
||||||
docker-php-ext-enable imagick
|
|
||||||
|
|
||||||
# Activate user-defined .htaccess
|
# Activate user-defined .htaccess
|
||||||
RUN \
|
RUN \
|
||||||
|
|
|
@ -7,6 +7,3 @@ opcache.save_comments=1
|
||||||
opcache.revalidate_freq=1
|
opcache.revalidate_freq=1
|
||||||
|
|
||||||
memory_limit = 1G
|
memory_limit = 1G
|
||||||
|
|
||||||
apc.enable_cli=1
|
|
||||||
apc.enable=1
|
|
||||||
|
|
Loading…
Reference in a new issue