diff options
| author | _Tradam <[email protected]> | 2025-09-09 16:18:52 +0900 |
|---|---|---|
| committer | _Tradam <[email protected]> | 2025-09-09 16:18:52 +0900 |
| commit | a206493f3b3460e21353cea5477eebbcc10c0301 (patch) | |
| tree | 4c1e9afefded5e1c8524da82f83bdc447858dd9f /php.dockerfile | |
| download | wordpress-docker-a206493f3b3460e21353cea5477eebbcc10c0301.tar.gz wordpress-docker-a206493f3b3460e21353cea5477eebbcc10c0301.zip | |
init
Diffstat (limited to 'php.dockerfile')
| -rw-r--r-- | php.dockerfile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/php.dockerfile b/php.dockerfile new file mode 100644 index 0000000..2a7db45 --- /dev/null +++ b/php.dockerfile @@ -0,0 +1,7 @@ +FROM php:8.4-fpm-alpine + +RUN docker-php-ext-install mysqli pdo pdo_mysql && docker-php-ext-enable pdo_mysql + +RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar + +RUN chmod +x wp-cli.phar && mv wp-cli.phar /usr/local/bin/wp |
