diff options
Diffstat (limited to 'ubi8-min-php80-cli.dockerfile')
-rw-r--r-- | ubi8-min-php80-cli.dockerfile | 13 |
1 files changed, 13 insertions, 0 deletions
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"] + |