Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions php-fpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.3-fpm
FROM php:8.0-fpm

ADD ./opencart.ini /usr/local/etc/php/conf.d
ADD ./opencart.pool.conf /usr/local/etc/php-fpm.d/
Expand All @@ -12,13 +12,13 @@ RUN apt-get update && apt-get install -y \
curl

RUN apt-get install -y libmcrypt-dev
RUN pecl install mcrypt-1.0.2 && docker-php-ext-enable mcrypt
RUN pecl install mcrypt-1.0.4 && docker-php-ext-enable mcrypt

# Install extensions using the helper script provided by the base image
RUN docker-php-ext-install \
zip \
pdo_mysql \
&& docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ \
&& docker-php-ext-configure gd --with-freetype --with-jpeg \
&& docker-php-ext-install -j$(nproc) gd \
&& docker-php-ext-install mysqli

Expand Down