Sign inSign up

dekpo/my-php8-apache

By dekpo

•Updated about 3 years ago

Cette image est basée sur PHP8 avec Apache et quelques outils dont composer

Image
0

254

dekpo/my-php8-apache repository overview

⁠FROM PHP 8

FROM php:8.2-apache RUN apt-get update
RUN apt-get install git -y
RUN apt-get install nano
RUN apt-get install zip -y
RUN apt-get install unzip
RUN apt-get install wget
RUN docker-php-ext-install pdo pdo_mysql mysqli
RUN php -r "copy('https://getcomposer.org/installer⁠', 'composer-setup.php');"
RUN php composer-setup.php
RUN php -r "unlink('composer-setup.php');"
RUN mv composer.phar /usr/local/bin/composer
RUN a2enmod rewrite && a2enmod ssl

EXPOSE 80

Tag summary

Content type

Image

Digest

sha256:1db2c16a4…

Size

206.2 MB

Last updated

about 3 years ago

docker pull dekpo/my-php8-apache