summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-10-29 07:49:24 +0100
committerRemi Collet <remi@php.net>2024-10-29 07:49:24 +0100
commitc5c105dde4dc8f7640180a0d854c6177840ffd0b (patch)
treeeea2ec0f72abf77a988ac82db4429dbf6eb56fc8
parent32bad652bc0a72d3ae511690a509011c3075aa01 (diff)
add ubi9/php84HEADmaster
-rw-r--r--ubi9-remi-php83.dockerfile2
-rw-r--r--ubi9-remi-php84.dockerfile22
2 files changed, 24 insertions, 0 deletions
diff --git a/ubi9-remi-php83.dockerfile b/ubi9-remi-php83.dockerfile
index 5b25267..4fc9a9d 100644
--- a/ubi9-remi-php83.dockerfile
+++ b/ubi9-remi-php83.dockerfile
@@ -21,6 +21,8 @@ RUN dnf -y module enable php:remi-8.3 && \
php-xml \
&& dnf clean all
+RUN dnf install -y php-gd
+
ENTRYPOINT ["php"]
CMD ["-a"]
diff --git a/ubi9-remi-php84.dockerfile b/ubi9-remi-php84.dockerfile
new file mode 100644
index 0000000..b1bf219
--- /dev/null
+++ b/ubi9-remi-php84.dockerfile
@@ -0,0 +1,22 @@
+FROM registry.access.redhat.com/ubi9:latest
+
+# podman build -t ubi9php84 -f ubi9-remi-php84.dockerfile .
+# podman run --rm -ti ubi9php84
+
+# Install repo
+RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \
+ https://rpms.remirepo.net/enterprise/remi-release-9.rpm
+
+# Use primary server (when needed for new content)
+#RUN sed -e 's/^mirrorlist/#mirrorlist/;s/#baseurl/baseurl/' \
+# -i /etc/yum.repos.d/remi*.repo
+
+# Install
+RUN dnf -y module switch-to php:remi-8.4 \
+ && dnf -y module install php:remi-8.4 \
+ && dnf -y install php-gd \
+ && dnf clean all
+
+ENTRYPOINT ["php"]
+CMD ["-a"]
+