]> source.dussan.org Git - nextcloud-server.git/commitdiff
Enbale apcu in devcontainer CLI
authorRobin Windey <ro.windey@gmail.com>
Tue, 4 Apr 2023 16:37:39 +0000 (16:37 +0000)
committerGitHub <noreply@github.com>
Tue, 4 Apr 2023 16:37:39 +0000 (16:37 +0000)
.devcontainer/Dockerfile

index 99755ca22898c5e31d04061f47dbd22e14b145ce..6605e2b6499ab69383e3df839809f207725b94f2 100644 (file)
@@ -43,7 +43,8 @@ RUN curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php && \
     rm /tmp/composer-setup.php /tmp/composer-setup.sig
 
 RUN echo "xdebug.remote_enable = 1" >> /etc/php/8.1/cli/conf.d/20-xdebug.ini && \
-    echo "xdebug.remote_autostart = 1" >> /etc/php/8.1/cli/conf.d/20-xdebug.ini
+    echo "xdebug.remote_autostart = 1" >> /etc/php/8.1/cli/conf.d/20-xdebug.ini && \
+       echo "apc.enable_cli=1" >> /etc/php/8.1/cli/conf.d/20-apcu.ini
 
 # Autostart XDebug for apache
 RUN { \