blob: 60446ee305c5b4f9842ffd02c4bb4f7990ab67a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
FROM registry.access.redhat.com/ubi8:latest
RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm \
https://rpms.remirepo.net/enterprise/remi-release-8.rpm && \
dnf -y module enable php:remi-7.3 && \
dnf -y install php-fpm php-cli php-common \
php-sodium \
php-json \
php-mbstring \
php-xml \
&& dnf clean all
RUN mkdir /var/run/php-fpm
ENTRYPOINT ["php-fpm"]
CMD ["--nodaemonize"]
|