summaryrefslogtreecommitdiffstats
path: root/ubi8-min-php80-cli.dockerfile
blob: fa63e1511b72be4c0d163c4b19a82410fd9b66f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 php80-php-intl && \
    microdnf clean all

ENTRYPOINT ["php"]
CMD ["-a"]