2018-09-28 17:36:30 +00:00
|
|
|
FROM nextcloud:fpm-alpine
|
|
|
|
|
|
|
|
RUN set -ex; \
|
|
|
|
apk add --no-cache --virtual .build-deps \
|
|
|
|
autoconf \
|
|
|
|
automake \
|
|
|
|
file \
|
|
|
|
g++ \
|
|
|
|
gcc \
|
|
|
|
make \
|
|
|
|
php7-dev \
|
|
|
|
re2c \
|
|
|
|
samba-dev \
|
|
|
|
zlib-dev; \
|
|
|
|
apk add --no-cache libsmbclient; \
|
|
|
|
pecl install smbclient; \
|
|
|
|
docker-php-ext-enable smbclient; \
|
2019-05-23 14:30:47 +00:00
|
|
|
apk add --no-cache imagemagick; \
|
2018-09-28 17:36:30 +00:00
|
|
|
apk add --no-cache sudo; \
|
|
|
|
apk del .build-deps
|
|
|
|
|
|
|
|
COPY redis.config.php /usr/src/nextcloud/config/redis.config.php
|
2019-07-12 13:30:23 +00:00
|
|
|
|
|
|
|
# temporary. remove cypress files for code integrity.
|
|
|
|
RUN set -x; \
|
|
|
|
rm -rf /var/www/html/apps/cypress; \
|
|
|
|
rm /var/www/html/apps/cypress.json
|