summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-07-02 10:14:38 +0200
committerRemi Collet <remi@remirepo.net>2020-07-02 10:14:38 +0200
commit124892c4d663c56c8dc304d3f28df05966898813 (patch)
tree6fd9f7a3902e27692418a67cdcf5fce2b4a154cf
start to track wip
-rw-r--r--README.md4
-rw-r--r--amzn2-vips-php73.dockerfile24
-rw-r--r--centos-php74-imagick.dockerfile13
-rw-r--r--ubi8-min-php80-cli.dockerfile13
-rw-r--r--ubi8-php.dockerfile6
-rw-r--r--ubi8-php74.dockerfile11
6 files changed, 71 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..1113eb4
--- /dev/null
+++ b/README.md
@@ -0,0 +1,4 @@
+Testing docker image
+
+Nothing really designed to be usable
+
diff --git a/amzn2-vips-php73.dockerfile b/amzn2-vips-php73.dockerfile
new file mode 100644
index 0000000..b97858e
--- /dev/null
+++ b/amzn2-vips-php73.dockerfile
@@ -0,0 +1,24 @@
+FROM amazonlinux:2
+
+RUN yum update -y
+
+# Import archive signing keys and update packages
+RUN rpm --import https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7 && \
+ rpm --import https://rpms.remirepo.net/RPM-GPG-KEY-remi && \
+ rpmkeys --import file:///etc/pki/rpm-gpg/RPM-GPG-KEY-amazon-linux-2 && \
+ yum install -y yum-utils && \
+ yum update -y
+
+RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
+ https://rpms.remirepo.net/enterprise/remi-release-7.rpm \
+ https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm && \
+ yum-config-manager --enable remi && \
+ yum-config-manager --enable remi-php73 && \
+ rpmkeys --import file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmfusion-free-el-7 && \
+ yum install -y --setopt=tsflags=nodocs --noplugins \
+ vips-full-tools php-cli php-pecl-vips && \
+ yum clean all
+
+RUN vips --version && php --modules && php --version
+
+
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"'
diff --git a/ubi8-min-php80-cli.dockerfile b/ubi8-min-php80-cli.dockerfile
new file mode 100644
index 0000000..03b8a07
--- /dev/null
+++ b/ubi8-min-php80-cli.dockerfile
@@ -0,0 +1,13 @@
+FROM registry.access.redhat.com/ubi8-minimal:latest
+
+RUN curl https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -o /tmp/epel.rpm && \
+ curl https://rpms.remirepo.net/enterprise/remi-release-8.rpm -o /tmp/remi.rpm && \
+ rpm -iv /tmp/epel.rpm /tmp/remi.rpm && \
+ microdnf update tzdata && \
+ microdnf --enablerepo=remi install php80-syspaths php80-runtime \
+ php80-php-cli php80-php-common php80-php-sodium php80-php-mbstring php80-php-xml && \
+ microdnf clean all
+
+ENTRYPOINT ["php"]
+CMD ["-a"]
+
diff --git a/ubi8-php.dockerfile b/ubi8-php.dockerfile
new file mode 100644
index 0000000..9aa0802
--- /dev/null
+++ b/ubi8-php.dockerfile
@@ -0,0 +1,6 @@
+FROM registry.access.redhat.com/ubi8-minimal:latest
+
+
+RUN ls -al /usr/share
+
+
diff --git a/ubi8-php74.dockerfile b/ubi8-php74.dockerfile
new file mode 100644
index 0000000..99ba3ab
--- /dev/null
+++ b/ubi8-php74.dockerfile
@@ -0,0 +1,11 @@
+FROM registry.access.redhat.com/ubi8:latest
+
+RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
+ https://rpms.remirepo.net/enterprise/remi-release-8.rpm && \
+ dnf -y module enable php:remi-7.4 && \
+ dnf -y install php-cli php-common php-sodium php-json php-mbstring php-xml && \
+ dnf clean all
+
+ENTRYPOINT ["php"]
+CMD ["-a"]
+