summaryrefslogtreecommitdiffstats
path: root/ubi9-remi-php83.dockerfile
blob: fc4da1af172e2e081122dc50aa5b74188334a778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM registry.access.redhat.com/ubi9:latest

# podman build -t ubi9php83 -f ubi9-remi-php83.dockerfile .
# podman run --rm -ti ubi9php83

RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \
                   https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/capstone-4.0.2-10.el9.x86_64.rpm \
                   https://rpms.remirepo.net/enterprise/remi-release-9.rpm && \
    dnf -y module enable php:remi-8.3 && \
    dnf -y install httpd php php-cli php-common \
                   php-sodium \
                   php-json \
                   php-mbstring \
                   php-opcache \
                   php-xml \
    && dnf clean all

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