mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-25 02:04:06 +02:00
fix nextcloud
This commit is contained in:
parent
78dc212d62
commit
5da5b7dbff
@ -21,18 +21,13 @@ RUN set -xe \
|
||||
libpq-dev \
|
||||
libxml2-dev \
|
||||
smbclient \
|
||||
&& ln -s /usr/lib/x86_64-linux-gnu/libldap.so /usr/lib/libldap.so \
|
||||
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
|
||||
&& mkdir -p /usr/src/php/ext/memcached \
|
||||
&& curl -sSL https://github.com/php-memcached-dev/php-memcached/archive/php7.tar.gz | tar xz --strip 1 -C /usr/src/php/ext/memcached \
|
||||
&& docker-php-ext-configure memcached \
|
||||
&& docker-php-ext-install exif \
|
||||
gd \
|
||||
intl \
|
||||
ldap \
|
||||
mbstring \
|
||||
mcrypt \
|
||||
memcached \
|
||||
mysqli \
|
||||
pcntl \
|
||||
pdo_mysql \
|
||||
@ -40,18 +35,18 @@ RUN set -xe \
|
||||
pgsql \
|
||||
zip \
|
||||
&& pecl install APCu-5.1.5 \
|
||||
&& pecl install memcached-2.2.0 \
|
||||
&& pecl install redis-3.0.0 \
|
||||
&& docker-php-ext-enable apcu redis \
|
||||
&& docker-php-ext-enable apcu memcached redis \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV NC_VERSION 9.0.52
|
||||
ENV NC_VERSION 9.0.53
|
||||
ENV NC_FILE nextcloud-${NC_VERSION}.tar.bz2
|
||||
ENV NC_MD5 08f0fc5b85b491e99069da8a86fc9fe8
|
||||
ENV NC_URL https://download.nextcloud.com/server/releases/${NC_FILE}
|
||||
|
||||
RUN set -xe \
|
||||
&& curl -sSL ${NC_URL} -o ${NC_FILE} \
|
||||
&& echo "${NC_MD5} ${NC_FILE}" | md5sum -c \
|
||||
&& curl -sSL ${NC_URL}.md5 | md5sum -c \
|
||||
&& tar xjf ${NC_FILE} --strip 1 \
|
||||
&& rm -rf ${NC_FILE} \
|
||||
&& chown -R www-data:www-data .
|
||||
|
Loading…
Reference in New Issue
Block a user