php7 and php8 images
This commit is contained in:
16
php-fpm/7/Dockerfile
Normal file
16
php-fpm/7/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM centos:7
|
||||
RUN yum update -y
|
||||
RUN yum install epel-release -y
|
||||
RUN rpm -i https://rpms.remirepo.net/enterprise/remi-release-7.rpm
|
||||
RUN yum install php74 php74-php-fpm php74-php-pdo php74-php-mysqlnd php74-php-bcmath php74-php-devel php74-php-gd php74-php-mbstring php74-php-pear php74-php-pecl-zip php74-php-xml -y
|
||||
RUN yum clean all
|
||||
COPY docker-entrypoint.sh /
|
||||
RUN chmod +x /docker-entrypoint.sh
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
CMD ["/opt/remi/php74/root/usr/sbin/php-fpm"]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user