Fix full Dockerfile example

This commit is contained in:
Tilo Spannagel 2018-08-06 14:40:03 +02:00
parent 68c731298e
commit aa9cd89b82
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
FROM nextcloud:apache FROM nextcloud:apache
RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list \ RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list \
&& mkdir -p /usr/share/man/man1 \
&& apt-get update && apt-get install -y \ && apt-get update && apt-get install -y \
supervisor \ supervisor \
ffmpeg \ ffmpeg \
@ -10,7 +11,7 @@ RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/so
libkrb5-dev \ libkrb5-dev \
smbclient \ smbclient \
libsmbclient-dev \ libsmbclient-dev \
# LibreOffice \ # libreoffice \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \ && docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
&& ln -s "/usr/include/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)/gmp.h" /usr/include/gmp.h \ && ln -s "/usr/include/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)/gmp.h" /usr/include/gmp.h \

View File

@ -1,6 +1,7 @@
FROM nextcloud:fpm FROM nextcloud:fpm
RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list \ RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list \
&& mkdir -p /usr/share/man/man1 \
&& apt-get update && apt-get install -y \ && apt-get update && apt-get install -y \
supervisor \ supervisor \
ffmpeg \ ffmpeg \
@ -10,7 +11,7 @@ RUN echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/so
libkrb5-dev \ libkrb5-dev \
smbclient \ smbclient \
libsmbclient-dev \ libsmbclient-dev \
# LibreOffice \ # libreoffice \
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& docker-php-ext-configure imap --with-kerberos --with-imap-ssl \ && docker-php-ext-configure imap --with-kerberos --with-imap-ssl \
&& ln -s "/usr/include/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)/gmp.h" /usr/include/gmp.h \ && ln -s "/usr/include/$(dpkg-architecture --query DEB_BUILD_MULTIARCH)/gmp.h" /usr/include/gmp.h \