Fix config file sed.

This commit is contained in:
TheSpad 2022-05-12 18:56:54 +01:00
parent 317507f52b
commit 6d1cf7e575
No known key found for this signature in database
GPG Key ID: 08F06191F4587860
3 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ RUN \
tar xf \
/tmp/phpmyadmin.tar.xz -C \
/app/phpmyadmin/ --strip-components=1 && \
sed -i "s@define('CONFIG_DIR'.*@define('CONFIG_DIR', '/config/phpmyadmin/');@" "/app/phpmyadmin/libraries/vendor_config.php" && \
sed -i "s@'configFile' =>.*@'configFile' => '/config/phpmyadmin/config.inc.php',@" "/app/phpmyadmin/libraries/vendor_config.php" && \
sed -i 's@;clear_env = no@clear_env = no@' "/etc/php7/php-fpm.d/www.conf" && \
rm -rf \
/tmp/*

View File

@ -56,7 +56,7 @@ RUN \
tar xf \
/tmp/phpmyadmin.tar.xz -C \
/app/phpmyadmin/ --strip-components=1 && \
sed -i "s@define('CONFIG_DIR'.*@define('CONFIG_DIR', '/config/phpmyadmin/');@" "/app/phpmyadmin/libraries/vendor_config.php" && \
sed -i "s@'configFile' =>.*@'configFile' => '/config/phpmyadmin/config.inc.php',@" "/app/phpmyadmin/libraries/vendor_config.php" && \
sed -i 's@;clear_env = no@clear_env = no@' "/etc/php7/php-fpm.d/www.conf" && \
rm -rf \
/tmp/*

View File

@ -56,7 +56,7 @@ RUN \
tar xf \
/tmp/phpmyadmin.tar.xz -C \
/app/phpmyadmin/ --strip-components=1 && \
sed -i "s@define('CONFIG_DIR'.*@define('CONFIG_DIR', '/config/phpmyadmin/');@" "/app/phpmyadmin/libraries/vendor_config.php" && \
sed -i "s@'configFile' =>.*@'configFile' => '/config/phpmyadmin/config.inc.php',@" "/app/phpmyadmin/libraries/vendor_config.php" && \
sed -i 's@;clear_env = no@clear_env = no@' "/etc/php7/php-fpm.d/www.conf" && \
rm -rf \
/tmp/*