DockerIt / opencart-docker

Dockerize Opencart
MIT License
33 stars 24 forks source link

OpenCart 4.0.0.0 now depends on php8 #15

Open mseanbonner opened 2 years ago

mseanbonner commented 2 years ago

OpenCart 4.0.0.0 was recently released (May 17, 2022); it requires php8, but current opencart-docker builds upon base of php:7.3-fpm

peteroid commented 7 months ago

I have made these changes in "php-fpm/Dockerfile" to make it work:

- FROM php:7.3-fpm
+ FROM php:8.2-fpm
- RUN pecl install mcrypt-1.0.2 && docker-php-ext-enable mcrypt
+ RUN pecl install mcrypt-1.0.7 && docker-php-ext-enable mcrypt
- && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
+ && docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ \