24 lines
618 B
Docker
24 lines
618 B
Docker
FROM nextcloud:22.1.0-apache
|
|
|
|
COPY supervisord/supervisord.conf /opt/supervisord.conf
|
|
|
|
# install cron
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
ffmpeg \
|
|
libmagickcore-6.q16-6-extra \
|
|
procps \
|
|
smbclient \
|
|
supervisor \
|
|
libbz2-dev \
|
|
libc-client-dev \
|
|
libkrb5-dev \
|
|
libsmbclient-dev \
|
|
&& pecl install smbclient \
|
|
&& docker-php-ext-enable smbclient \
|
|
&& mkdir /var/log/supervisord /var/run/supervisord \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV NEXTCLOUD_UPDATE=1
|
|
|
|
CMD ["/usr/bin/supervisord", "-c", "/opt/supervisord.conf"] |