summaryrefslogtreecommitdiffstats
path: root/rocky9-remi-php81.dockerfile
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-02-01 16:21:07 +0100
committerRemi Collet <remi@php.net>2024-02-01 16:21:07 +0100
commit9e5bdcf422850ad021aa058908a3da333412fddd (patch)
tree60bf6f880cf09bbbdc1747cb846ab2cde6ba760f /rocky9-remi-php81.dockerfile
parentc79e83b65fe933121eb6ddd05bf97a054fcc8b96 (diff)
add some EL-9 test images
Diffstat (limited to 'rocky9-remi-php81.dockerfile')
-rw-r--r--rocky9-remi-php81.dockerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/rocky9-remi-php81.dockerfile b/rocky9-remi-php81.dockerfile
new file mode 100644
index 0000000..2e2b975
--- /dev/null
+++ b/rocky9-remi-php81.dockerfile
@@ -0,0 +1,14 @@
+FROM rockylinux:9
+
+# podman build -t rocky9php81 -f rocky-remi-php81.dockerfile .
+# podman run --rm -ti rocky9php81
+
+RUN dnf -y install 'dnf-command(config-manager)'
+RUN dnf config-manager --set-enabled crb
+RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
+RUN dnf -y install https://rpms.remirepo.net/enterprise/remi-release-9.rpm
+RUN dnf -y module list php
+RUN dnf -y module install php:remi-8.1/devel
+
+ENTRYPOINT ["php"]
+CMD ["-a"]