Updated dockerfile package versions.
This commit is contained in:
13
Dockerfile
13
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.4.0.tar.gz
|
||||
RUN tar -xvf v1.4.0.tar.gz
|
||||
WORKDIR /usr/src/app/libheif-1.4.0/
|
||||
RUN wget https://github.com/strukturag/libheif/archive/v1.14.1.tar.gz
|
||||
RUN tar -xvf v1.14.1.tar.gz
|
||||
WORKDIR /usr/src/app/libheif-1.14.1/
|
||||
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/ImageMagick/download/releases/ImageMagick-7.1.0-52.tar.gz
|
||||
RUN tar -xvf ImageMagick-7.1.0-52.tar.gz
|
||||
WORKDIR /usr/src/app/ImageMagick-7.1.0-52/
|
||||
RUN wget https://download.imagemagick.org/ImageMagick/download/releases/ImageMagick-7.1.0-57.tar.gz
|
||||
RUN tar -xvf ImageMagick-7.1.0-57.tar.gz
|
||||
WORKDIR /usr/src/app/ImageMagick-7.1.0-57/
|
||||
RUN ./configure --with-heic=yes --with-webp=yes
|
||||
RUN make
|
||||
RUN make install
|
||||
@@ -58,6 +58,7 @@ RUN identify --version
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ghostscript \
|
||||
graphicsmagick \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "bodyshop-media-server",
|
||||
"version": "1.0.3",
|
||||
"version": "1.0.8",
|
||||
"license": "UNLICENSED",
|
||||
"engines": {
|
||||
"node": "16.15.0"
|
||||
|
||||
Reference in New Issue
Block a user