Skip to content

Commit f36825b

Browse files
committed
supports PHP 8.0 (since WP 5.7.x)
1 parent a5a7d24 commit f36825b

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

docker/wp5.7/php-8.0.Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM wordpress:5.7-php8.0
2+
3+
RUN usermod -u 1000 www-data
4+
5+
RUN a2disconf remoteip && a2dismod remoteip && service apache2 restart
6+
7+
RUN apt-get update && apt-get install -y git libmemcached-dev zlib1g-dev \
8+
&& pecl install -o -f redis memcached \
9+
&& rm -rf /tmp/pear \
10+
&& docker-php-ext-enable redis memcached \
11+
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer

0 commit comments

Comments
 (0)