Skip to content

Commit 731a488

Browse files
committed
Use php 8.3 in docker (apcu sometimes refuses to compile)
1 parent 987307f commit 731a488

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM php:8.4-apache
1+
FROM php:8.3-apache
22

3-
RUN apt-get update && apt-get install -y git libz-dev libssl-dev \
4-
&& pecl install redis apcu \
5-
&& docker-php-ext-enable redis opcache apcu \
6-
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
3+
RUN apt-get update && apt-get install -y git
4+
RUN pecl install -o -f redis && docker-php-ext-enable redis
5+
RUN pecl install -o -f apcu && docker-php-ext-enable apcu
6+
RUN docker-php-ext-enable opcache
77

88
WORKDIR /var/www/html
99

0 commit comments

Comments
 (0)