summaryrefslogtreecommitdiffstats
path: root/centos-php74-imagick.dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'centos-php74-imagick.dockerfile')
-rw-r--r--centos-php74-imagick.dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/centos-php74-imagick.dockerfile b/centos-php74-imagick.dockerfile
new file mode 100644
index 0000000..b35a096
--- /dev/null
+++ b/centos-php74-imagick.dockerfile
@@ -0,0 +1,13 @@
+FROM fedora:30
+
+RUN dnf -y update
+
+RUN dnf -y install 'dnf-command(config-manager)'
+RUN dnf -y install https://rpms.remirepo.net/fedora/remi-release-30.rpm
+RUN dnf config-manager --set-enabled remi
+RUN dnf config-manager --set-enabled remi-debuginfo
+RUN dnf -y install php74 php74-php-devel php74-php-debuginfo ImageMagick-devel gdb git make
+RUN scl enable php74 'php -v'
+RUN git clone https://github.com/Imagick/imagick.git
+RUN scl enable php74 'cd imagick; phpize; ./configure'
+RUN scl enable php74 'cd imagick; make -j4; make test TESTS="-q --show-diff"'