summaryrefslogtreecommitdiffstats
path: root/ubi9-remi-php83.dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'ubi9-remi-php83.dockerfile')
-rw-r--r--ubi9-remi-php83.dockerfile8
1 files changed, 5 insertions, 3 deletions
diff --git a/ubi9-remi-php83.dockerfile b/ubi9-remi-php83.dockerfile
index 5562833..4fc9a9d 100644
--- a/ubi9-remi-php83.dockerfile
+++ b/ubi9-remi-php83.dockerfile
@@ -7,9 +7,9 @@ FROM registry.access.redhat.com/ubi9:latest
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
-RUN sed -e 's/^mirrorlist/#mirrorlist/;s/#baseurl/baseurl/' \
- -i /etc/yum.repos.d/remi*.repo
+# 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 enable php:remi-8.3 && \
@@ -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"]