blob: 2e2b9751ae756836297d6a0080989bacc66f8638 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
FROM rockylinux:9
# podman build -t rocky9php81 -f rocky-remi-php81.dockerfile .
# podman run --rm -ti rocky9php81
RUN dnf -y install 'dnf-command(config-manager)'
RUN dnf config-manager --set-enabled crb
RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
RUN dnf -y install https://rpms.remirepo.net/enterprise/remi-release-9.rpm
RUN dnf -y module list php
RUN dnf -y module install php:remi-8.1/devel
ENTRYPOINT ["php"]
CMD ["-a"]
|