-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathDockerfile
30 lines (28 loc) · 1.19 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
FROM alpine:3.15
MAINTAINER Felix Buenemann <[email protected]>
ARG VIPS_VERSION=8.12.1
RUN set -x -o pipefail \
&& wget -O- https://github.com/libvips/libvips/releases/download/v${VIPS_VERSION}/vips-${VIPS_VERSION}.tar.gz | tar xzC /tmp \
&& apk update \
&& apk upgrade \
&& apk add \
zlib libxml2 glib gobject-introspection \
libjpeg-turbo libexif lcms2 fftw giflib libpng \
libwebp orc tiff poppler-glib librsvg libgsf openexr \
libheif libimagequant pango \
&& apk add --virtual vips-dependencies build-base \
zlib-dev libxml2-dev glib-dev gobject-introspection-dev \
libjpeg-turbo-dev libexif-dev lcms2-dev fftw-dev giflib-dev libpng-dev \
libwebp-dev orc-dev tiff-dev poppler-dev librsvg-dev libgsf-dev openexr-dev \
libheif-dev libimagequant-dev pango-dev \
py-gobject3-dev \
&& cd /tmp/vips-${VIPS_VERSION} \
&& ./configure --prefix=/usr \
--disable-static \
--disable-dependency-tracking \
--enable-silent-rules \
&& make -s install-strip \
&& cd $OLDPWD \
&& rm -rf /tmp/vips-${VIPS_VERSION} \
&& apk del --purge vips-dependencies \
&& rm -rf /var/cache/apk/*