Skip to content

Commit

Permalink
chore(docker): update base image to php:8.2.23-apache
Browse files Browse the repository at this point in the history
  • Loading branch information
ecelis committed Sep 9, 2024
1 parent 8d0656a commit dc57ae9
Showing 1 changed file with 32 additions and 31 deletions.
63 changes: 32 additions & 31 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,39 +1,40 @@
FROM php:8.0.29-apache
FROM php:8.2.23-apache
# Required dependencies
RUN apt-get update && apt-get install -y \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
default-libmysqlclient-dev \
libcurl4-openssl-dev \
libmcrypt-dev \
libzip-dev \
libmagick++-dev \
unzip \
mariadb-client \
zlib1g zlib1g-dev \
libpng16-16 libpng-dev \
libonig5 libonig-dev \
&& docker-php-ext-configure gd \
&& docker-php-ext-install gd \
&& docker-php-ext-install mysqli \
&& docker-php-ext-install curl \
&& docker-php-ext-install mbstring \
&& docker-php-ext-install zip
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
default-libmysqlclient-dev \
libcurl4-openssl-dev \
libmcrypt-dev \
libzip-dev \
libmagick++-dev \
unzip \
mariadb-client \
zlib1g zlib1g-dev \
libpng16-16 libpng-dev \
libonig5 libonig-dev \
&& docker-php-ext-configure gd \
&& docker-php-ext-install gd \
&& docker-php-ext-install mysqli \
&& docker-php-ext-install curl \
&& docker-php-ext-install mbstring \
&& docker-php-ext-install intl \
&& docker-php-ext-install zip
RUN /usr/bin/yes '' | /usr/local/bin/pecl install mcrypt-1.0.6
RUN /usr/bin/yes '' | /usr/local/bin/pecl install imagick
RUN apt-get remove \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
default-libmysqlclient-dev \
libcurl4-openssl-dev \
libmcrypt-dev \
libzip-dev \
libmagick++-dev \
zlib1g-dev \
libpng-dev \
libonig-dev \
libfreetype6-dev \
libjpeg62-turbo-dev \
libpng-dev \
default-libmysqlclient-dev \
libcurl4-openssl-dev \
libmcrypt-dev \
libzip-dev \
libmagick++-dev \
zlib1g-dev \
libpng-dev \
libonig-dev \
apt-get clean all \
&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false; \
rm -rf /var/lib/apt/lists/* ; \
Expand Down

0 comments on commit dc57ae9

Please sign in to comment.