-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4d216ad
commit 30c970a
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM nextcloud:30.0.2-fpm | ||
|
||
RUN apt update && \ | ||
apt install -y procps smbclient libsmbclient-dev libmagickcore-6.q16-6-extra unrar-free p7zip p7zip-full \ | ||
nano cron curl ghostscript libldap2-dev iputils-ping && \ | ||
# Not supported yet python3-pip | ||
apt autoclean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
# Because python3-pip not support, pip3 install youtube-dl can't execute command | ||
|
||
# Samba client php extension | ||
RUN pecl install smbclient | ||
RUN docker-php-ext-enable smbclient | ||
|
||
# Install php-ldap Extension | ||
RUN docker-php-ext-install ldap | ||
|
||
# inotify extension | ||
RUN pecl install inotify | ||
|
||
# For LibreSign preview image | ||
RUN sed -i'' 's|.*<policy domain="coder".*"PDF".*|<policy domain="coder" rights="read \| write" pattern="PDF" />|g' /etc/ImageMagick-6/policy.xml |