diff --git a/alfresco-transform-core-aio/alfresco-transform-core-aio-boot/Dockerfile b/alfresco-transform-core-aio/alfresco-transform-core-aio-boot/Dockerfile index 43798b5c..9a4703d1 100644 --- a/alfresco-transform-core-aio/alfresco-transform-core-aio-boot/Dockerfile +++ b/alfresco-transform-core-aio/alfresco-transform-core-aio-boot/Dockerfile @@ -12,9 +12,7 @@ ARG EXIFTOOL_FOLDER=Image-ExifTool-${EXIFTOOL_VERSION} ARG EXIFTOOL_URL=https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/exiftool/image-exiftool/${EXIFTOOL_VERSION}/image-exiftool-${EXIFTOOL_VERSION}.tgz ARG IMAGEMAGICK_VERSION=7.1.0-16 -ENV IMAGEMAGICK_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/imagemagick/imagemagick-distribution/${IMAGEMAGICK_VERSION}/imagemagick-distribution-${IMAGEMAGICK_VERSION}-centos7.rpm -ENV IMAGEMAGICK_LIB_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/imagemagick/imagemagick-distribution/${IMAGEMAGICK_VERSION}/imagemagick-distribution-${IMAGEMAGICK_VERSION}-libs-centos7.rpm -ENV IMAGEMAGICK_DEP_RPM_URL=https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm +ENV IMAGEMAGICK_DEP_RPM_URL=https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm ARG LIBREOFFICE_VERSION=7.2.5 ENV LIBREOFFICE_RPM_URL=https://nexus.alfresco.com/nexus/service/local/repositories/thirdparty/content/org/libreoffice/libreoffice-dist/${LIBREOFFICE_VERSION}/libreoffice-dist-${LIBREOFFICE_VERSION}-linux.gz @@ -31,9 +29,12 @@ ARG USERID=33017 COPY target/alfresco-transform-core-aio-boot-${env.project_version}.jar /usr/bin +COPY rpms/ImageMagick-7.1.0-16.x86_64.rockylinux8.rpm /usr/bin +COPY rpms/ImageMagick-libs-7.1.0-16.x86_64.rockylinux8.rpm /usr/bin + RUN ln /usr/bin/alfresco-transform-core-aio-boot-${env.project_version}.jar /usr/bin/alfresco-transform-core-aio-boot.jar && \ yum install -y $IMAGEMAGICK_DEP_RPM_URL && \ - yum install -y $IMAGEMAGICK_LIB_RPM_URL $IMAGEMAGICK_RPM_URL && \ + yum install -y /usr/bin/ImageMagick-libs-7.1.0-16.x86_64.rockylinux8.rpm /usr/bin/ImageMagick-7.1.0-16.x86_64.rockylinux8.rpm && \ yum install -y cairo cups-libs libSM libGLU && \ test -f libreoffice-dist-${LIBREOFFICE_VERSION}-linux.gz && \ ln -s libreoffice-dist-${LIBREOFFICE_VERSION}-linux.gz libreoffice-dist-linux.gz || \ diff --git a/alfresco-transform-core-aio/alfresco-transform-core-aio-boot/rpms/ImageMagick-7.1.0-16.x86_64.rockylinux8.rpm b/alfresco-transform-core-aio/alfresco-transform-core-aio-boot/rpms/ImageMagick-7.1.0-16.x86_64.rockylinux8.rpm new file mode 100644 index 00000000..42e3eaef Binary files /dev/null and b/alfresco-transform-core-aio/alfresco-transform-core-aio-boot/rpms/ImageMagick-7.1.0-16.x86_64.rockylinux8.rpm differ diff --git a/alfresco-transform-core-aio/alfresco-transform-core-aio-boot/rpms/ImageMagick-libs-7.1.0-16.x86_64.rockylinux8.rpm b/alfresco-transform-core-aio/alfresco-transform-core-aio-boot/rpms/ImageMagick-libs-7.1.0-16.x86_64.rockylinux8.rpm new file mode 100644 index 00000000..4e67af7d Binary files /dev/null and b/alfresco-transform-core-aio/alfresco-transform-core-aio-boot/rpms/ImageMagick-libs-7.1.0-16.x86_64.rockylinux8.rpm differ