mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-19 18:36:09 +02:00
Solved dev lips dependency problems
This commit is contained in:
parent
da556e0128
commit
c35c5abb0f
1 changed files with 8 additions and 8 deletions
16
Dockerfile
16
Dockerfile
|
@ -1,7 +1,6 @@
|
||||||
FROM php:7.0-fpm-alpine
|
FROM php:7.0-fpm-alpine
|
||||||
|
|
||||||
# https://docs.nextcloud.com/server/9/admin_manual/installation/source_installation.html
|
ENV NEXTCLOUD_VERSION 10.0.0
|
||||||
RUN docker-php-ext-install gd exif intl mbstring mcrypt opcache pdo_mysql pdo_pgsql pgsql zip
|
|
||||||
|
|
||||||
# set recommended PHP.ini settings
|
# set recommended PHP.ini settings
|
||||||
# see https://secure.php.net/manual/en/opcache.installation.php
|
# see https://secure.php.net/manual/en/opcache.installation.php
|
||||||
|
@ -14,14 +13,18 @@ RUN { \
|
||||||
echo 'opcache.enable_cli=1'; \
|
echo 'opcache.enable_cli=1'; \
|
||||||
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
|
} > /usr/local/etc/php/conf.d/opcache-recommended.ini
|
||||||
|
|
||||||
# PECL & source PHP extensions
|
# Install PHP extensions
|
||||||
|
# https://docs.nextcloud.com/server/9/admin_manual/installation/source_installation.html
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& apk update \
|
&& apk update \
|
||||||
&& apk add autoconf make g++ gcc git file gnupg re2c \
|
&& apk add build-base python-dev py-pip jpeg-dev zlib-dev postgresql-dev libmcrypt-dev libpng-dev \
|
||||||
|
&& apk add autoconf make g++ gcc git file gnupg re2c icu icu-dev \
|
||||||
#&& echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
#&& echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||||
#&& echo '@community http://nl.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories \
|
#&& echo '@community http://nl.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories \
|
||||||
#&& apk add php7-session@community \
|
#&& apk add php7-session@community \
|
||||||
#&& apk add php7-memcached@testing \
|
#&& apk add php7-memcached@testing \
|
||||||
|
&& docker-php-ext-install gd exif intl mbstring mcrypt opcache pdo_mysql pdo_pgsql pgsql zip \
|
||||||
|
&& docker-php-ext-enable gd intl exif mbstring mcrypt opcache pdo_mysql pdo_pgsql pgsql zip \
|
||||||
&& pecl install APCu-5.1.6 \
|
&& pecl install APCu-5.1.6 \
|
||||||
&& git clone https://github.com/phpredis/phpredis.git \
|
&& git clone https://github.com/phpredis/phpredis.git \
|
||||||
&& cd phpredis \
|
&& cd phpredis \
|
||||||
|
@ -32,12 +35,9 @@ RUN set -ex \
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
&& rm -rf phpredis \
|
&& rm -rf phpredis \
|
||||||
&& docker-php-ext-enable redis apcu \
|
&& docker-php-ext-enable redis apcu \
|
||||||
&& apk del autoconf make g++ gcc git \
|
&& apk del autoconf make g++ gcc git py-pip zlib-dev jpeg-dev libmcrypt-dev libpng-dev\
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
ENV NEXTCLOUD_VERSION 10.0.0
|
|
||||||
VOLUME /var/www/html
|
VOLUME /var/www/html
|
||||||
|
|
||||||
RUN curl -fsSL -o nextcloud.tar.bz2 \
|
RUN curl -fsSL -o nextcloud.tar.bz2 \
|
||||||
|
|
Loading…
Add table
Reference in a new issue