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 57a62d9 commit f957a07Copy full SHA for f957a07
images/yourls/Dockerfile.template
@@ -2,7 +2,11 @@ FROM php:8.5-%%VARIANT%%
2
3
# install the PHP extensions we need
4
RUN set -eux; \
5
- docker-php-ext-install -j "$(nproc)" bcmath opcache pdo_mysql mysqli
+ docker-php-ext-install -j "$(nproc)" \
6
+ bcmath \
7
+ opcache \
8
+ pdo_mysql \
9
+ mysqli
10
11
# set recommended PHP.ini settings
12
# see https://www.php.net/manual/en/opcache.installation.php
@@ -12,7 +16,7 @@ RUN { \
16
echo 'opcache.max_accelerated_files=4000'; \
13
17
echo 'opcache.revalidate_freq=2'; \
14
18
echo 'opcache.fast_shutdown=1'; \
15
- } > /usr/local/etc/php/conf.d/opcache-recommended.ini
19
+ } > "$PHP_INI_DIR/conf.d/opcache-recommended.ini"
20
21
%%VARIANT_EXTRAS%%
22
0 commit comments