Skip to content

Commit bfbd0cd

Browse files
authored
Merge pull request #158 from movabletype/downgrade_imagemagick
Downgrade imagemagick
2 parents ae4afb6 + ce0bb68 commit bfbd0cd

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

bin/update_dockerfile.pl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,13 +749,14 @@
749749
phpunit => 11,
750750
make => {
751751
perl => '5.38.2',
752-
ImageMagick => '7.1.2-12',
752+
ImageMagick => '7.0.8-68',
753753
GraphicsMagick => '1.3.43',
754754
},
755755
repo => {
756756
remi => [qw( php php-mbstring php-mysqlnd php-gd php-pecl-memcache php-xml )],
757757
crb => [qw( giflib-devel )],
758758
epel => [qw( libidn-devel )],
759+
devel => [qw( libtool-ltdl-devel )],
759760
},
760761
epel => {
761762
rpm => 'epel-release',

cloud7/Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ RUN dnf -y --allowerasing install\
1515
&&\
1616
dnf -y --enablerepo=crb install\
1717
giflib-devel\
18+
&&\
19+
dnf -y --enablerepo=devel install\
20+
libtool-ltdl-devel\
1821
&&\
1922
dnf -y install epel-release &&\
2023
dnf -y --enablerepo=epel install\
@@ -34,8 +37,8 @@ RUN dnf -y --allowerasing install\
3437
curl -LO https://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/1.3.43/GraphicsMagick-1.3.43.tar.xz &&\
3538
tar xf GraphicsMagick-1.3.43.tar.xz && cd GraphicsMagick-1.3.43 &&\
3639
./configure --prefix=/usr --enable-shared --with-perl --disable-opencl --disable-dependency-tracking --without-x --without-ttf --without-wmf --without-magick-plus-plus --without-bzlib --without-zlib --without-dps --without-fpx --without-jpig --without-lcms2 --without-lzma --without-xml --with-quantum-depth=16 && make && make install && cd PerlMagick && perl Makefile.PL && make install && cd ../.. &&\
37-
curl -LO https://imagemagick.org/archive/releases/ImageMagick-7.1.2-12.tar.xz &&\
38-
tar xf ImageMagick-7.1.2-12.tar.xz && cd ImageMagick-7.1.2-12 &&\
40+
curl -LO https://imagemagick.org/archive/releases/ImageMagick-7.0.8-68.tar.xz &&\
41+
tar xf ImageMagick-7.0.8-68.tar.xz && cd ImageMagick-7.0.8-68 &&\
3942
./configure --prefix=/usr --enable-shared --with-perl --disable-dependency-tracking --disable-cipher --disable-assert --without-x --without-ttf --without-wmf --without-magick-plus-plus --without-bzlib --without-zlib --without-dps --without-djvu --without-fftw --without-fpx --without-fontconfig --without-freetype --without-jbig --without-lcms --without-lcms2 --without-lqr --without-lzma --without-openexr --without-pango --without-xml --disable-openmp --disable-opencl && make && make install && cd PerlMagick && perl Makefile.PL && make install && cd ../.. &&\
4043
cd .. && rm -rf src && ldconfig /usr/local/lib &&\
4144
curl -sL https://phar.phpunit.de/phpunit-11.phar > phpunit && chmod +x phpunit &&\

0 commit comments

Comments
 (0)