mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-08 10:45:04 +02:00
Upd Dockerfile for better diffs
This commit is contained in:
parent
f5740f591e
commit
03c4e91170
@ -7,9 +7,29 @@ ENV PATH /usr/local/go/bin:$PATH
|
||||
# Install dependencies
|
||||
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||
&& apk --no-cache upgrade \
|
||||
&& apk add --no-cache curl git ca-certificates go gcc g++ make musl-dev fftw-dev glib-dev libtool expat-dev \
|
||||
libjpeg-turbo-dev libpng-dev libwebp-dev giflib-dev librsvg-dev libexif-dev lcms2-dev libimagequant-dev \
|
||||
libheif-dev tiff-dev
|
||||
&& apk add --no-cache \
|
||||
curl \
|
||||
git \
|
||||
ca-certificates \
|
||||
go \
|
||||
gcc \
|
||||
g++ \
|
||||
make \
|
||||
musl-dev \
|
||||
fftw-dev \
|
||||
glib-dev \
|
||||
libtool \
|
||||
expat-dev \
|
||||
libjpeg-turbo-dev \
|
||||
libpng-dev \
|
||||
libwebp-dev \
|
||||
giflib-dev \
|
||||
librsvg-dev \
|
||||
libexif-dev \
|
||||
lcms2-dev \
|
||||
libimagequant-dev \
|
||||
libheif-dev \
|
||||
tiff-dev
|
||||
|
||||
# Build ImageMagick
|
||||
RUN cd /root \
|
||||
@ -75,8 +95,24 @@ LABEL maintainer="Sergey Alexandrovich <darthsim@gmail.com>"
|
||||
|
||||
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||
&& apk --no-cache upgrade \
|
||||
&& apk add --no-cache bash ca-certificates fftw glib libltdl expat libjpeg-turbo libpng \
|
||||
libwebp giflib librsvg libgsf libexif lcms2 libimagequant libheif tiff\
|
||||
&& apk add --no-cache \
|
||||
bash \
|
||||
ca-certificates \
|
||||
fftw \
|
||||
glib \
|
||||
libltdl \
|
||||
expat \
|
||||
libjpeg-turbo \
|
||||
libpng \
|
||||
libwebp \
|
||||
giflib \
|
||||
librsvg \
|
||||
libgsf \
|
||||
libexif \
|
||||
lcms2 \
|
||||
libimagequant \
|
||||
libheif \
|
||||
tiff \
|
||||
&& rm -rf /var/cache/apk*
|
||||
|
||||
COPY --from=0 /usr/local/bin/imgproxy /usr/local/bin/
|
||||
|
Loading…
Reference in New Issue
Block a user