-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (27 loc) · 765 Bytes
/
Dockerfile
File metadata and controls
27 lines (27 loc) · 765 Bytes
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
FROM debian:bullseye-slim
#
RUN apt-get update && \
apt-get install -y libvips-dev wget build-essential pkg-config ca-certificates --no-install-recommends
#
# Install ImageMagick deps
RUN apt-get -q -y install libjpeg-dev libpng-dev libtiff-dev \
libgif-dev libx11-dev libraw-dev --no-install-recommends
#
ENV IMAGEMAGICK_VERSION=7.1.1-10
#
RUN cd && \
wget https://codeload.github.com/ImageMagick/ImageMagick/tar.gz/refs/tags/${IMAGEMAGICK_VERSION} && \
tar xvzf ${IMAGEMAGICK_VERSION} && \
cd ImageMagick* && \
./configure \
--without-magick-plus-plus \
--without-perl \
--disable-openmp \
--with-gvc=no \
--disable-docs \
--with-raw && \
make -j$(nproc) && make install && \
ldconfig /usr/local/lib
#
CMD ["/bin/bash"]
#