22 lines
550 B
Docker
22 lines
550 B
Docker
FROM nextcloud:latest
|
|
|
|
# Install additional PHP modules using pecl and avconv or ffmpeg
|
|
RUN set -eux; \
|
|
\
|
|
apt-get update; \
|
|
apt-get install -y --no-install-recommends \
|
|
$PHPIZE_DEPS \
|
|
autoconf \
|
|
imagemagick \
|
|
ffmpeg \
|
|
libbz2-dev \
|
|
libsmbclient-dev \
|
|
; \
|
|
\
|
|
pecl install smbclient redis imagick; \
|
|
docker-php-ext-enable smbclient redis imagick; \
|
|
\
|
|
docker-php-ext-install bz2 \
|
|
; \
|
|
apt-get purge -y --auto-remove $PHPIZE_DEPS; \
|
|
rm -rf /var/lib/apt/lists/* |