summaryrefslogtreecommitdiffstats
path: root/alma9-remi-php83.dockerfile
blob: fb2901c0dfdee60fb008d1d68c192acbd267ebe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM almalinux:9

# podman build -t alma9php83 -f alma9-remi-php83.dockerfile .
# podman run --rm -ti alma9php83

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 && \
    dnf -y module enable php:remi-8.3 && \
    dnf -y install httpd php php-cli php-common \
                   php-sodium \
                   php-json \
                   php-mbstring \
                   php-imagick \
                   php-xml \
    && dnf clean all

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