Skip to content

Commit

Permalink
⬆️ Upgrades phpMyAdmin to 5.2.0 (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Jun 8, 2022
1 parent d72ed93 commit 40ad543
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions phpmyadmin/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,18 @@ RUN \
php8-mbstring=8.0.19-r1 \
php8-mysqli=8.0.19-r1 \
php8-opcache=8.0.19-r1 \
php8-openssl=8.0.19-r1 \
php8-session=8.0.19-r1 \
php8-xml=8.0.19-r1 \
php8-zip=8.0.19-r1 \
php8=8.0.19-r1 \
\
&& mkdir /var/www/phpmyadmin \
&& curl -L -s \
"https://files.phpmyadmin.net/phpMyAdmin/5.1.3/phpMyAdmin-5.1.3-all-languages.tar.gz" \
"https://files.phpmyadmin.net/phpMyAdmin/5.2.0/phpMyAdmin-5.2.0-all-languages.tar.gz" \
| tar zxvf - --strip 1 -C /var/www/phpmyadmin \
\
&& sed -i "s@define('CONFIG_DIR'.*@define('CONFIG_DIR', '/etc/phpmyadmin/');@" \
&& sed -i "s@'configFile' =>.*@'configFile' => '/etc/phpmyadmin/config.inc.php',@" \
/var/www/phpmyadmin/libraries/vendor_config.php \
\
&& find /var/www/ -type f -name "*.md" -depth -exec rm -f {} \; \
Expand Down

0 comments on commit 40ad543

Please sign in to comment.