-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
40 lines (36 loc) · 1.23 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
FROM nextcloud:latest
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y --no-install-recommends --fix-missing \
ffmpeg \
procps \
smbclient \
inotify-tools \
libbz2-dev \
libc-client-dev \
libkrb5-dev \
libsmbclient-dev \
python3-dev \
python3-pip \
python3-venv \
python3-virtualenv
COPY heic.sh heic.sh
RUN chmod +x ./heic.sh && ./heic.sh
RUN docker-php-ext-configure imap --with-kerberos --with-imap-ssl
RUN docker-php-ext-install bz2 imap
RUN pecl install smbclient
RUN pecl install inotify
RUN docker-php-ext-enable smbclient
RUN docker-php-ext-enable inotify
RUN python3 -m pip install pipx --break-system-packages
RUN python3 -m pipx ensurepath
ENV PATH=/root/.local/bin:$PATH
RUN python3 -m pip install numpy --break-system-packages
RUN python3 -m pip install Pillow --break-system-packages
RUN python3 -m pip install scipy --break-system-packages
RUN python3 -m pip install pywavelets --break-system-packages
RUN python3 -m pip install asn1crypto --break-system-packages
RUN python3 -m pip install pynacl --break-system-packages
RUN python3 -m pip install cryptography --break-system-packages
RUN python3 -m pip install pillow_heif --break-system-packages
RUN python3 -m pip install hexhamming --break-system-packages