diff --git a/docker/Dockerfile b/docker/Dockerfile index 7d18f953..9cfb7de0 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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 " 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/