Updated dockerfile package versions.

This commit is contained in:
Patrick Fic
2023-01-03 11:28:03 -08:00
parent 73e4b91ad1
commit db9964b462
2 changed files with 8 additions and 7 deletions

View File

@@ -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

View File

@@ -1,6 +1,6 @@
{
"name": "bodyshop-media-server",
"version": "1.0.3",
"version": "1.0.8",
"license": "UNLICENSED",
"engines": {
"node": "16.15.0"