summaryrefslogtreecommitdiffstats
path: root/ubi8-min-php80-cli.dockerfile
blob: 03b8a071a77b114694dbc837a59d27f8e9a3f7f3 (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 && \
    microdnf clean all

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