Covert to ESM and get it functional locally
This commit is contained in:
12
Dockerfile
12
Dockerfile
@@ -28,9 +28,9 @@ RUN apt install -y libwebp-dev
|
||||
# Install HEIF support (libheic-dev Package does not exist on 16.04)
|
||||
RUN apt-get -y install libde265-dev
|
||||
RUN apt-get -y install pkg-config m4 libtool automake autoconf
|
||||
RUN wget https://github.com/strukturag/libheif/archive/v1.18.0.tar.gz
|
||||
RUN tar -xvf v1.18.0.tar.gz
|
||||
WORKDIR /usr/src/app/libheif-1.18.0/
|
||||
RUN wget https://github.com/strukturag/libheif/archive/v1.18.2.tar.gz
|
||||
RUN tar -xvf v1.18.2.tar.gz
|
||||
WORKDIR /usr/src/app/libheif-1.18.2/
|
||||
RUN ./autogen.sh
|
||||
RUN ./configure
|
||||
RUN make
|
||||
@@ -46,9 +46,9 @@ RUN apt-get -y install wget && apt-get install -y ruby-full && ruby -v
|
||||
# RUN apt-get install imagemagick -y
|
||||
|
||||
# # Install ImageMagick with WEBP and HEIC support
|
||||
RUN wget https://download.imagemagick.org/archive/releases/ImageMagick-7.1.1-35.tar.xz
|
||||
RUN tar -xvf ImageMagick-7.1.1-35.tar.xz
|
||||
WORKDIR /usr/src/app/ImageMagick-7.1.1-35/
|
||||
RUN wget https://download.imagemagick.org/archive/releases/ImageMagick-7.1.1-37.tar.xz
|
||||
RUN tar -xvf ImageMagick-7.1.1-37.tar.xz
|
||||
WORKDIR /usr/src/app/ImageMagick-7.1.1-37/
|
||||
RUN ./configure --with-heic=yes --with-webp=yes
|
||||
RUN make
|
||||
RUN make install
|
||||
|
||||
Reference in New Issue
Block a user