mirror of
https://github.com/9001/copyparty.git
synced 2026-09-24 21:10:18 +01:00
drop rawpy, use libraw/dcraw_emu directly;
rawpy is still supported but will not be bundled by default due to security concerns dcraw_emu reads more formats than rawpy + gives better quality (we told rawpy to use embedded thumbs), so also much slower dcraw_emu must be combined with libvips or pillow (equivalent) other alternatives considered: libvips + a full imagemagick does a different subset of formats, less than dcraw_emu, yet is 3x slower and eats ram magick wins wrt formats but is even slower (4x of dcraw_emu)
This commit is contained in:
@@ -12,18 +12,12 @@ RUN apk add -U !pyc ${ADD_PKG} \
|
||||
tzdata wget mimalloc2 mimalloc2-insecure \
|
||||
py3-jinja2 py3-argon2-cffi py3-pyzmq \
|
||||
py3-openssl py3-paramiko py3-pillow \
|
||||
py3-pip py3-cffi \
|
||||
py3-pip \
|
||||
py3-magic \
|
||||
vips-jxl vips-poppler vips-magick \
|
||||
libraw py3-numpy \
|
||||
&& apk add -t .bd \
|
||||
bash wget gcc g++ make cmake patchelf \
|
||||
python3-dev py3-wheel libffi-dev \
|
||||
libraw-dev py3-numpy-dev cython \
|
||||
libraw-tools \
|
||||
&& rm -f /usr/lib/python3*/EXTERNALLY-MANAGED \
|
||||
&& python3 -m pip install pyvips \
|
||||
&& python3 -m pip install --no-binary rawpy rawpy \
|
||||
&& apk del py3-pip .bd
|
||||
&& python3 -m pip install pyvips
|
||||
|
||||
COPY i innvikler.sh ./
|
||||
RUN ash innvikler.sh iv
|
||||
|
||||
Reference in New Issue
Block a user