We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 987307f commit 731a488Copy full SHA for 731a488
Dockerfile
@@ -1,9 +1,9 @@
1
-FROM php:8.4-apache
+FROM php:8.3-apache
2
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/*
+RUN apt-get update && apt-get install -y git
+RUN pecl install -o -f redis && docker-php-ext-enable redis
+RUN pecl install -o -f apcu && docker-php-ext-enable apcu
+RUN docker-php-ext-enable opcache
7
8
WORKDIR /var/www/html
9
0 commit comments