Skip to content

Commit

Permalink
Trying $$ instead of \"$ in command: section
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Kionga-Kamau committed Sep 10, 2024
1 parent b13f2ff commit a666921
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/php-apache/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
- ${PHP_WEB_ROOT:-./app}:/var/www/html
command: >
/bin/bash -c "
if [ -n \"${PHP_EXTENSIONS+x}\" ]; then
if [ -n $${PHP_EXTENSIONS+x} ]; then
docker-php-ext-install $$PHP_EXTENSIONS || {
echo 'Error installing PHP extensions via docker-php-ext-install - check your docker-compose.yml command: section';
exit 1;
Expand Down

0 comments on commit a666921

Please sign in to comment.