From 1d11c44e45c71a6a3ccc19b30217072b746441d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20K=C3=B6pcke?= Date: Thu, 8 Feb 2024 13:21:07 +0100 Subject: [PATCH] PHP 8.3 images (#18) * PHP 8.3 images * Fix path to 8.3 images in GitHub actions * Fix composer2 images --- .github/workflows/build.yml | 62 +++++-- node-php/8.0/buster/apache/Dockerfile | 3 - node-php/8.0/buster/apache/README.md | 16 +- node-php/8.0/buster/cli-composer/Dockerfile | 3 - node-php/8.0/buster/cli-composer/README.md | 16 +- node-php/8.0/buster/cli-composer2/Dockerfile | 3 - node-php/8.0/buster/cli-composer2/README.md | 16 +- node-php/8.0/buster/fpm/Dockerfile | 3 - node-php/8.0/buster/fpm/README.md | 16 +- node-php/8.1/buster/apache/Dockerfile | 3 - node-php/8.1/buster/apache/README.md | 16 +- node-php/8.1/buster/cli-composer/Dockerfile | 3 - node-php/8.1/buster/cli-composer/README.md | 16 +- node-php/8.1/buster/cli-composer2/Dockerfile | 3 - node-php/8.1/buster/cli-composer2/README.md | 16 +- node-php/8.1/buster/fpm/Dockerfile | 3 - node-php/8.1/buster/fpm/README.md | 16 +- node-php/8.2/buster/apache/Dockerfile | 3 - node-php/8.2/buster/apache/README.md | 16 +- node-php/8.2/buster/cli-composer/Dockerfile | 3 - node-php/8.2/buster/cli-composer/README.md | 16 +- node-php/8.2/buster/cli-composer2/Dockerfile | 3 - node-php/8.2/buster/cli-composer2/README.md | 16 +- node-php/8.2/buster/fpm/Dockerfile | 3 - node-php/8.2/buster/fpm/README.md | 16 +- node-php/8.3/bookworm/apache/000-default.conf | 12 ++ node-php/8.3/bookworm/apache/Dockerfile | 103 ++++++++++++ node-php/8.3/bookworm/apache/README.md | 159 ++++++++++++++++++ node-php/8.3/bookworm/cli-composer/Dockerfile | 102 +++++++++++ node-php/8.3/bookworm/cli-composer/README.md | 159 ++++++++++++++++++ .../8.3/bookworm/cli-composer2/Dockerfile | 99 +++++++++++ node-php/8.3/bookworm/cli-composer2/README.md | 159 ++++++++++++++++++ node-php/8.3/bookworm/fpm/Dockerfile | 102 +++++++++++ node-php/8.3/bookworm/fpm/README.md | 159 ++++++++++++++++++ node-php/README.md | 16 +- node-php/builder/Dockerfile | 3 - node-php/builder/Dockerfile-composer2 | 3 - php/8.0/buster/apache/Dockerfile | 3 - php/8.0/buster/apache/README.md | 16 +- php/8.0/buster/cli-composer/Dockerfile | 3 - php/8.0/buster/cli-composer/README.md | 16 +- php/8.0/buster/cli-composer2/Dockerfile | 3 - php/8.0/buster/cli-composer2/README.md | 16 +- php/8.0/buster/fpm/Dockerfile | 3 - php/8.0/buster/fpm/README.md | 16 +- php/8.1/buster/apache/Dockerfile | 3 - php/8.1/buster/apache/README.md | 16 +- php/8.1/buster/cli-composer/Dockerfile | 3 - php/8.1/buster/cli-composer/README.md | 16 +- php/8.1/buster/cli-composer2/Dockerfile | 3 - php/8.1/buster/cli-composer2/README.md | 16 +- php/8.1/buster/fpm/Dockerfile | 3 - php/8.1/buster/fpm/README.md | 16 +- php/8.2/buster/apache/Dockerfile | 3 - php/8.2/buster/apache/README.md | 16 +- php/8.2/buster/cli-composer/Dockerfile | 3 - php/8.2/buster/cli-composer/README.md | 16 +- php/8.2/buster/cli-composer2/Dockerfile | 3 - php/8.2/buster/cli-composer2/README.md | 16 +- php/8.2/buster/fpm/Dockerfile | 3 - php/8.2/buster/fpm/README.md | 16 +- php/8.3/bookworm/apache/000-default.conf | 12 ++ php/8.3/bookworm/apache/Dockerfile | 99 +++++++++++ php/8.3/bookworm/apache/README.md | 157 +++++++++++++++++ php/8.3/bookworm/cli-composer/Dockerfile | 98 +++++++++++ php/8.3/bookworm/cli-composer/README.md | 157 +++++++++++++++++ php/8.3/bookworm/cli-composer2/Dockerfile | 95 +++++++++++ php/8.3/bookworm/cli-composer2/README.md | 157 +++++++++++++++++ php/8.3/bookworm/fpm/Dockerfile | 98 +++++++++++ php/8.3/bookworm/fpm/README.md | 157 +++++++++++++++++ php/README.md | 16 +- php/builder/Dockerfile | 3 - php/builder/Dockerfile-composer2 | 3 - php/builder/build.sh | 1 + 74 files changed, 2441 insertions(+), 206 deletions(-) create mode 100644 node-php/8.3/bookworm/apache/000-default.conf create mode 100644 node-php/8.3/bookworm/apache/Dockerfile create mode 100644 node-php/8.3/bookworm/apache/README.md create mode 100644 node-php/8.3/bookworm/cli-composer/Dockerfile create mode 100644 node-php/8.3/bookworm/cli-composer/README.md create mode 100644 node-php/8.3/bookworm/cli-composer2/Dockerfile create mode 100644 node-php/8.3/bookworm/cli-composer2/README.md create mode 100644 node-php/8.3/bookworm/fpm/Dockerfile create mode 100644 node-php/8.3/bookworm/fpm/README.md create mode 100644 php/8.3/bookworm/apache/000-default.conf create mode 100644 php/8.3/bookworm/apache/Dockerfile create mode 100644 php/8.3/bookworm/apache/README.md create mode 100644 php/8.3/bookworm/cli-composer/Dockerfile create mode 100644 php/8.3/bookworm/cli-composer/README.md create mode 100644 php/8.3/bookworm/cli-composer2/Dockerfile create mode 100644 php/8.3/bookworm/cli-composer2/README.md create mode 100644 php/8.3/bookworm/fpm/Dockerfile create mode 100644 php/8.3/bookworm/fpm/README.md diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d23d457..a9617a1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,29 +14,42 @@ jobs: fail-fast: false matrix: include: - - path: php/8.2/buster/cli-composer + - path: php/8.3/bookworm/cli-composer tags: - - riptidepy/php:8.2-cli + - riptidepy/php:8.3-cli - riptidepy/php:8-cli - riptidepy/php:cli - - riptidepy/php:8.2 + - riptidepy/php:8.3 - riptidepy/php:8 - riptidepy/php:latest - - path: php/8.2/buster/cli-composer2 + - path: php/8.3/bookworm/cli-composer2 tags: - - riptidepy/php:8.2-cli-composer2 + - riptidepy/php:8.3-cli-composer2 - riptidepy/php:8-cli-composer2 - riptidepy/php:cli-composer2 - - path: php/8.2/buster/apache + - path: php/8.3/bookworm/apache tags: - - riptidepy/php:8.2-apache + - riptidepy/php:8.3-apache - riptidepy/php:8-apache - riptidepy/php:apache - - path: php/8.2/buster/fpm + - path: php/8.3/bookworm/fpm tags: - - riptidepy/php:8.2-fpm + - riptidepy/php:8.3-fpm - riptidepy/php:8-fpm - riptidepy/php:fpm + - path: php/8.2/buster/cli-composer + tags: + - riptidepy/php:8.2-cli + - riptidepy/php:8.2 + - path: php/8.2/buster/cli-composer2 + tags: + - riptidepy/php:8.2-cli-composer2 + - path: php/8.2/buster/apache + tags: + - riptidepy/php:8.2-apache + - path: php/8.2/buster/fpm + tags: + - riptidepy/php:8.2-fpm - path: php/8.1/buster/cli-composer tags: - riptidepy/php:8.1-cli @@ -63,29 +76,42 @@ jobs: - path: php/8.0/buster/fpm tags: - riptidepy/php:8.0-fpm - - path: node-php/8.2/buster/cli-composer + - path: node-php/8.3/bookworm/cli-composer tags: - - riptidepy/node-php:8.2-cli + - riptidepy/node-php:8.3-cli - riptidepy/node-php:8-cli - riptidepy/node-php:cli - - riptidepy/node-php:8.2 + - riptidepy/node-php:8.3 - riptidepy/node-php:8 - riptidepy/node-php:latest - - path: node-php/8.2/buster/cli-composer2 + - path: node-php/8.3/bookworm/cli-composer2 tags: - - riptidepy/node-php:8.2-cli-composer2 + - riptidepy/node-php:8.3-cli-composer2 - riptidepy/node-php:8-cli-composer2 - riptidepy/node-php:cli-composer2 - - path: node-php/8.2/buster/apache + - path: node-php/8.3/bookworm/apache tags: - - riptidepy/node-php:8.2-apache + - riptidepy/node-php:8.3-apache - riptidepy/node-php:8-apache - riptidepy/node-php:apache - - path: node-php/8.2/buster/fpm + - path: node-php/8.3/bookworm/fpm tags: - - riptidepy/node-php:8.2-fpm + - riptidepy/node-php:8.3-fpm - riptidepy/node-php:8-fpm - riptidepy/node-php:fpm + - path: node-php/8.2/buster/cli-composer + tags: + - riptidepy/node-php:8.2-cli + - riptidepy/node-php:8.2 + - path: node-php/8.2/buster/cli-composer2 + tags: + - riptidepy/node-php:8.2-cli-composer2 + - path: node-php/8.2/buster/apache + tags: + - riptidepy/node-php:8.2-apache + - path: node-php/8.2/buster/fpm + tags: + - riptidepy/node-php:8.2-fpm - path: node-php/8.1/buster/cli-composer tags: - riptidepy/node-php:8.1-cli diff --git a/node-php/8.0/buster/apache/Dockerfile b/node-php/8.0/buster/apache/Dockerfile index c156986..088cefd 100644 --- a/node-php/8.0/buster/apache/Dockerfile +++ b/node-php/8.0/buster/apache/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3 # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/node-php/8.0/buster/apache/README.md b/node-php/8.0/buster/apache/README.md index ab3a243..a35abfe 100644 --- a/node-php/8.0/buster/apache/README.md +++ b/node-php/8.0/buster/apache/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) diff --git a/node-php/8.0/buster/cli-composer/Dockerfile b/node-php/8.0/buster/cli-composer/Dockerfile index 56bdf91..a7a5204 100644 --- a/node-php/8.0/buster/cli-composer/Dockerfile +++ b/node-php/8.0/buster/cli-composer/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3 # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/node-php/8.0/buster/cli-composer/README.md b/node-php/8.0/buster/cli-composer/README.md index ab3a243..a35abfe 100644 --- a/node-php/8.0/buster/cli-composer/README.md +++ b/node-php/8.0/buster/cli-composer/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) diff --git a/node-php/8.0/buster/cli-composer2/Dockerfile b/node-php/8.0/buster/cli-composer2/Dockerfile index 0f47194..e3777e8 100644 --- a/node-php/8.0/buster/cli-composer2/Dockerfile +++ b/node-php/8.0/buster/cli-composer2/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3 # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/node-php/8.0/buster/cli-composer2/README.md b/node-php/8.0/buster/cli-composer2/README.md index ab3a243..a35abfe 100644 --- a/node-php/8.0/buster/cli-composer2/README.md +++ b/node-php/8.0/buster/cli-composer2/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) diff --git a/node-php/8.0/buster/fpm/Dockerfile b/node-php/8.0/buster/fpm/Dockerfile index 2015ca2..c5da40c 100644 --- a/node-php/8.0/buster/fpm/Dockerfile +++ b/node-php/8.0/buster/fpm/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3 # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/node-php/8.0/buster/fpm/README.md b/node-php/8.0/buster/fpm/README.md index ab3a243..a35abfe 100644 --- a/node-php/8.0/buster/fpm/README.md +++ b/node-php/8.0/buster/fpm/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) diff --git a/node-php/8.1/buster/apache/Dockerfile b/node-php/8.1/buster/apache/Dockerfile index ed4aaf5..e91e8d9 100644 --- a/node-php/8.1/buster/apache/Dockerfile +++ b/node-php/8.1/buster/apache/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3 # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/node-php/8.1/buster/apache/README.md b/node-php/8.1/buster/apache/README.md index ab3a243..a35abfe 100644 --- a/node-php/8.1/buster/apache/README.md +++ b/node-php/8.1/buster/apache/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) diff --git a/node-php/8.1/buster/cli-composer/Dockerfile b/node-php/8.1/buster/cli-composer/Dockerfile index 3b459f0..d1a975e 100644 --- a/node-php/8.1/buster/cli-composer/Dockerfile +++ b/node-php/8.1/buster/cli-composer/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3 # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/node-php/8.1/buster/cli-composer/README.md b/node-php/8.1/buster/cli-composer/README.md index ab3a243..a35abfe 100644 --- a/node-php/8.1/buster/cli-composer/README.md +++ b/node-php/8.1/buster/cli-composer/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) diff --git a/node-php/8.1/buster/cli-composer2/Dockerfile b/node-php/8.1/buster/cli-composer2/Dockerfile index c348b44..be8baa5 100644 --- a/node-php/8.1/buster/cli-composer2/Dockerfile +++ b/node-php/8.1/buster/cli-composer2/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3 # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/node-php/8.1/buster/cli-composer2/README.md b/node-php/8.1/buster/cli-composer2/README.md index ab3a243..a35abfe 100644 --- a/node-php/8.1/buster/cli-composer2/README.md +++ b/node-php/8.1/buster/cli-composer2/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) diff --git a/node-php/8.1/buster/fpm/Dockerfile b/node-php/8.1/buster/fpm/Dockerfile index 8c54081..5c6ad71 100644 --- a/node-php/8.1/buster/fpm/Dockerfile +++ b/node-php/8.1/buster/fpm/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3 # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/node-php/8.1/buster/fpm/README.md b/node-php/8.1/buster/fpm/README.md index ab3a243..a35abfe 100644 --- a/node-php/8.1/buster/fpm/README.md +++ b/node-php/8.1/buster/fpm/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) diff --git a/node-php/8.2/buster/apache/Dockerfile b/node-php/8.2/buster/apache/Dockerfile index f98591c..54ef7c3 100644 --- a/node-php/8.2/buster/apache/Dockerfile +++ b/node-php/8.2/buster/apache/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3 # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/node-php/8.2/buster/apache/README.md b/node-php/8.2/buster/apache/README.md index ab3a243..a35abfe 100644 --- a/node-php/8.2/buster/apache/README.md +++ b/node-php/8.2/buster/apache/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) diff --git a/node-php/8.2/buster/cli-composer/Dockerfile b/node-php/8.2/buster/cli-composer/Dockerfile index b67fa06..f557001 100644 --- a/node-php/8.2/buster/cli-composer/Dockerfile +++ b/node-php/8.2/buster/cli-composer/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3 # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/node-php/8.2/buster/cli-composer/README.md b/node-php/8.2/buster/cli-composer/README.md index ab3a243..a35abfe 100644 --- a/node-php/8.2/buster/cli-composer/README.md +++ b/node-php/8.2/buster/cli-composer/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) diff --git a/node-php/8.2/buster/cli-composer2/Dockerfile b/node-php/8.2/buster/cli-composer2/Dockerfile index 11d743f..8b4cc99 100644 --- a/node-php/8.2/buster/cli-composer2/Dockerfile +++ b/node-php/8.2/buster/cli-composer2/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3 # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/node-php/8.2/buster/cli-composer2/README.md b/node-php/8.2/buster/cli-composer2/README.md index ab3a243..a35abfe 100644 --- a/node-php/8.2/buster/cli-composer2/README.md +++ b/node-php/8.2/buster/cli-composer2/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) diff --git a/node-php/8.2/buster/fpm/Dockerfile b/node-php/8.2/buster/fpm/Dockerfile index cdc7491..82451e7 100644 --- a/node-php/8.2/buster/fpm/Dockerfile +++ b/node-php/8.2/buster/fpm/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3 # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/node-php/8.2/buster/fpm/README.md b/node-php/8.2/buster/fpm/README.md index ab3a243..a35abfe 100644 --- a/node-php/8.2/buster/fpm/README.md +++ b/node-php/8.2/buster/fpm/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) diff --git a/node-php/8.3/bookworm/apache/000-default.conf b/node-php/8.3/bookworm/apache/000-default.conf new file mode 100644 index 0000000..18ce104 --- /dev/null +++ b/node-php/8.3/bookworm/apache/000-default.conf @@ -0,0 +1,12 @@ + + ServerAdmin webmaster@riptide + DocumentRoot "/src" + + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + + AllowOverride All + Require all granted + + diff --git a/node-php/8.3/bookworm/apache/Dockerfile b/node-php/8.3/bookworm/apache/Dockerfile new file mode 100644 index 0000000..1b5020b --- /dev/null +++ b/node-php/8.3/bookworm/apache/Dockerfile @@ -0,0 +1,103 @@ +# THIS IS AUTO-GENERATED by builder/build.sh. DO NOT EDIT. +FROM php:8.3-apache-bookworm + +LABEL php_xdebug_version="3" + +# Some parts are based on https://hub.docker.com/r/alexcheng/magento2/dockerfile + +# PHP extensions, msmtp, NodeJS and NPM +RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfreetype6 libjpeg62-turbo libjpeg62-turbo-dev libpng-dev libxpm-dev libfreetype6-dev libicu-dev libxslt1-dev unzip libbz2-dev libzip-dev openssh-client libonig-dev git ssh-askpass libssl-dev libyaml-dev" \ + && apt-get update \ + && apt-get install -y $requirements \ + && docker-php-ext-install pdo_mysql \ + && docker-php-ext-install mysqli \ + && docker-php-ext-install soap \ + && docker-php-ext-install xsl \ + && docker-php-ext-install zip \ + && docker-php-ext-install intl \ + && docker-php-ext-install bcmath \ + && docker-php-ext-install bz2 \ + && docker-php-ext-install sockets \ + && docker-php-ext-configure gd --with-freetype --with-jpeg \ + && docker-php-ext-install gd \ + && docker-php-ext-install exif \ + && docker-php-ext-install opcache \ + && requirementsToRemove="libmcrypt-dev libwebp-dev libcurl3-dev libpng-dev libfreetype6-dev libjpeg62-turbo-dev libxpm-dev libbz2-dev libzip-dev libonig-dev" \ + && apt-get purge -y $requirementsToRemove \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +# Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) +RUN yes | pecl install xdebug + +# Install yaml +RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini + +# Riptide no longer enabled xdebug in it's image, for performance reasons. +# Please mount +# For Riptide < 0.6: The PHP commands/services in the Riptide Community Repository mount these settings already +# For Riptide >= 0.6: Use the plugin riptide-plugin-php-xdebug to toggle Xdebug. +# +# Previously these were the settings for Xdebug: +#&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini + +# Composer 1 +RUN curl -sS https://getcomposer.org/installer | php -- --1 \ + && mv composer.phar /usr/local/bin/composer + +# Composer 2 +RUN curl -sS https://getcomposer.org/installer | php \ + && mv composer.phar /usr/local/bin/composer2 + +# wp-cli +RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ + && chmod +x ./wp-cli.phar \ + && mv ./wp-cli.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp-cli \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp + +# Magerun +RUN curl -O https://files.magerun.net/n98-magerun.phar \ + && chmod +x ./n98-magerun.phar \ + && mv ./n98-magerun.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/magerun \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/mr + +# Magerun2 +RUN curl -O https://files.magerun.net/n98-magerun2.phar \ + && chmod +x ./n98-magerun2.phar \ + && mv ./n98-magerun2.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/mr2 \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/magerun2 + +## Symfony +RUN curl -O https://get.symfony.com/cli/installer \ + && chmod +x ./installer \ + && ./installer --install-dir /usr/local/bin \ + && rm ./installer + +# Additional settings +# || true for non-apache variants +RUN a2enmod rewrite || true \ + && echo "memory_limit=-1" > /usr/local/etc/php/conf.d/memory-limit.ini \ + && echo "sendmail_path = /usr/bin/msmtp -t" > /usr/local/etc/php/conf.d/sendmail.ini + +# PHP-FPM: +# Since we use a template build, this get's executed in all images... could possibly +# change that in the future +RUN mkdir -p /usr/local/etc/php-fpm.d/ \ + # Allow the FPM process to access the environment variables passed in + && echo "clear_env = no" >> /usr/local/etc/php-fpm.d/www.conf \ + # logging + && echo "php_admin_flag[log_errors] = on" >> /usr/local/etc/php-fpm.d/www.conf + +# Make /src the root source directory +RUN rm -rf /usr/src && ln -s /src /usr/src + +# Globally install yarn +RUN npm install --global yarn + +WORKDIR /src +COPY 000-default.conf /etc/apache2/sites-enabled/000-default.conf diff --git a/node-php/8.3/bookworm/apache/README.md b/node-php/8.3/bookworm/apache/README.md new file mode 100644 index 0000000..a35abfe --- /dev/null +++ b/node-php/8.3/bookworm/apache/README.md @@ -0,0 +1,159 @@ +# Supported tags and respective `Dockerfile` links + +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) +- [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) +- [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) +- [`8.0-fpm` (*8.0/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/fpm/Dockerfile) +- [`7.4-cli`, `7-cli`, `7.4`, `7` (*7.4/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/cli-composer/Dockerfile) +- [`7.4-cli-composer2` (*7.4/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/cli-composer2/Dockerfile) +- [`7.4-apache`, `7-apache` (*7.4/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/apache/Dockerfile) +- [`7.4-fpm`, `7-fpm` (*7.4/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/fpm/Dockerfile) +- [`7.3-cli`, `7.3`, (*7.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/cli-composer/Dockerfile) +- [`7.3-cli-composer2` (*7.3/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/cli-composer2/Dockerfile) +- [`7.3-apache`, (*7.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/apache/Dockerfile) +- [`7.3-fpm`, (*7.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/fpm/Dockerfile) +- [`7.2-cli`, `7.2` (*7.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/cli-composer/Dockerfile) +- [`7.2-cli-composer2` (*7.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/cli-composer2/Dockerfile) +- [`7.2-apache` (*7.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/apache/Dockerfile) +- [`7.2-fpm` (*7.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/fpm/Dockerfile) + +# Quick reference + +- **Where to get help**: + [the Riptide Docker Images Github Repository](https://github.com/theCapypara/riptide-docker-images) + +- **Where to file issues**: + [https://github.com/theCapypara/riptide-docker-images/issues](https://github.com/theCapypara/riptide-docker-images/issues) + +- **Maintained by**: + [the Riptide Community](https://github.com/theCapypara/riptide-docker-images) + +- **Source of this description**: + [README in riptide-docker-images repo](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php) ([history](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php)) + +# What is node-php? + +node-php images based on the [official php images](https://hub.docker.com/_/php) with the debian [nodejs package](https://packages.debian.org/sid/nodejs) included. + +These images work like their official counterpart, but: + +- They include the following php extensions (additional may be installed by default, depending on php version): + - xdebug 3 (not loaded by default & and controlled via XDEBUG_CONFIG, see below) + - pdo_mysql + - mysqli + - gd + - mbstring + - soap + - xsl + - intl + - ctype + - iconv + - json + - session + - simplexml + - tokenizer + - bcmath + - bz2 + - sockets + - yaml +- They include the following tools for developing with common php applications and Frameworks + - [Composer](https://getcomposer.org/) + - Composer 1 as `composer` + - Composer 2 as `composer2` + - NOTE: The `cli-composer2` images instead only contain Composer 2, linked as both `composer` and `composer2`. + - [wp-cli](https://wp-cli.org/) + - [n98-magerun](https://github.com/netz98/n98-magerun) + - [n98-magerun2](https://github.com/netz98/n98-magerun2) + - [Symfony CLI](https://symfony.com/) +- msmtp is installed by default to be used with a mailcatcher. It is configured in the php.ini but no msmtprc + file is present. If you want to use msmtp, create an "/etc/msmtprc". +- Includes an SSH client +- Includes Git + +Xdebug is not loaded by default for performance reasons. If you want +to enable Xdebug, add the following lines to the file ``/usr/local/etc/php/conf.d/xdebug.ini`` via a new image or mount: +```ini +zend_extension=xdebug.so +xdebug.remote_enable=on +xdebug.remote_autostart=off +``` + + +This image is meant for developers using php and node. If you are missing any extensions +or tools, be sure to open a [pull request](https://github.com/theCapypara/riptide-docker-images/pulls). + +# How to use this image. + +See the description of the [official php images](https://hub.docker.com/_/php). +The directory used for app sources is `/src`, not `/usr/src`! +Commands and scripts can additionally make use of `node`, `npm`, `npx` and `yarn`. + +This image is meant to be used with [Riptide](https://github.com/theCapypara/riptide-cli). +Using it without Riptide is probably possible, but not supported. + +## Basic Usage with Riptide + +A simple php app that uses the apache variant to run an Apache web-server: + +```yaml +app: + name: php-demo + services: + php_demo: + image: riptidepy/node-php:7.3-apache + environment: + APACHE_RUN_USER: '#{{ os_user() }}' + APACHE_RUN_GROUP: '#{{ os_group() }}' + port: 80 + run_as_current_user: false + roles: + - main + - src +``` + +For all image variants, expect for `apache`: + +- This image supports ``run_as_current_user: true`` for services (this is the default). + +For the `apache` image variant: + +- This image only supports ``run_as_current_user: false`` for services. + To run the image with the user controlling riptide, instead of the image user, provide the APACHE_RUN_USER and APACHE_RUN_GROUP environment variables, + as shown in the example above. + +## Basic Usage with Docker Run + +See the description of the [official php images](https://hub.docker.com/_/php) and [official Node images](https://hub.docker.com/_/node). + +# Environment Variables + +| Name | Required | Example Value(s) | Description | +|-----------------|----------|-------------------------------------|---------------------------------------------------------------------| +| APACHE_RUN_USER | see desc.| #1000 / #{{ os_user() }} (Riptide) | (apache only) ID of the user that Apache should switch to | +| APACHE_RUN_GROUP| see desc.| #1000 / #{{ os_group() }} (Riptide) | (apache only) ID of the group that the main command should switch to| +| XDEBUG_CONFIG | no | client_host={{ host_address() }} | [Xdebug configuration](https://xdebug.org/docs/remote) | +| XDEBUG_CONFIG | no | serverName=riptide-{{ name }}' | [phpStorm path mapping key](https://blog.jetbrains.com/phpstorm/2012/03/new-in-4-0-easier-debugging-of-remote-php-command-line-scripts/)| + +More environment variables may be provided by php, php-FPM, Apache, php extensions or Node. + +# Volumes + +- **/src**: Source code + +# Image Variants + +See the description of the [official php images](https://hub.docker.com/_/php). Only +variants for FPM, CLI and Apache are provided. Only variants based on Debian buster are provided. +Every variant includes the latest nodejs package that was present in the debian repositories at the time of building. diff --git a/node-php/8.3/bookworm/cli-composer/Dockerfile b/node-php/8.3/bookworm/cli-composer/Dockerfile new file mode 100644 index 0000000..89ffd82 --- /dev/null +++ b/node-php/8.3/bookworm/cli-composer/Dockerfile @@ -0,0 +1,102 @@ +# THIS IS AUTO-GENERATED by builder/build.sh. DO NOT EDIT. +FROM php:8.3-cli-bookworm + +LABEL php_xdebug_version="3" + +# Some parts are based on https://hub.docker.com/r/alexcheng/magento2/dockerfile + +# PHP extensions, msmtp, NodeJS and NPM +RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfreetype6 libjpeg62-turbo libjpeg62-turbo-dev libpng-dev libxpm-dev libfreetype6-dev libicu-dev libxslt1-dev unzip libbz2-dev libzip-dev openssh-client libonig-dev git ssh-askpass libssl-dev libyaml-dev" \ + && apt-get update \ + && apt-get install -y $requirements \ + && docker-php-ext-install pdo_mysql \ + && docker-php-ext-install mysqli \ + && docker-php-ext-install soap \ + && docker-php-ext-install xsl \ + && docker-php-ext-install zip \ + && docker-php-ext-install intl \ + && docker-php-ext-install bcmath \ + && docker-php-ext-install bz2 \ + && docker-php-ext-install sockets \ + && docker-php-ext-configure gd --with-freetype --with-jpeg \ + && docker-php-ext-install gd \ + && docker-php-ext-install exif \ + && docker-php-ext-install opcache \ + && requirementsToRemove="libmcrypt-dev libwebp-dev libcurl3-dev libpng-dev libfreetype6-dev libjpeg62-turbo-dev libxpm-dev libbz2-dev libzip-dev libonig-dev" \ + && apt-get purge -y $requirementsToRemove \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +# Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) +RUN yes | pecl install xdebug + +# Install yaml +RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini + +# Riptide no longer enabled xdebug in it's image, for performance reasons. +# Please mount +# For Riptide < 0.6: The PHP commands/services in the Riptide Community Repository mount these settings already +# For Riptide >= 0.6: Use the plugin riptide-plugin-php-xdebug to toggle Xdebug. +# +# Previously these were the settings for Xdebug: +#&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini + +# Composer 1 +RUN curl -sS https://getcomposer.org/installer | php -- --1 \ + && mv composer.phar /usr/local/bin/composer + +# Composer 2 +RUN curl -sS https://getcomposer.org/installer | php \ + && mv composer.phar /usr/local/bin/composer2 + +# wp-cli +RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ + && chmod +x ./wp-cli.phar \ + && mv ./wp-cli.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp-cli \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp + +# Magerun +RUN curl -O https://files.magerun.net/n98-magerun.phar \ + && chmod +x ./n98-magerun.phar \ + && mv ./n98-magerun.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/magerun \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/mr + +# Magerun2 +RUN curl -O https://files.magerun.net/n98-magerun2.phar \ + && chmod +x ./n98-magerun2.phar \ + && mv ./n98-magerun2.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/mr2 \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/magerun2 + +## Symfony +RUN curl -O https://get.symfony.com/cli/installer \ + && chmod +x ./installer \ + && ./installer --install-dir /usr/local/bin \ + && rm ./installer + +# Additional settings +# || true for non-apache variants +RUN a2enmod rewrite || true \ + && echo "memory_limit=-1" > /usr/local/etc/php/conf.d/memory-limit.ini \ + && echo "sendmail_path = /usr/bin/msmtp -t" > /usr/local/etc/php/conf.d/sendmail.ini + +# PHP-FPM: +# Since we use a template build, this get's executed in all images... could possibly +# change that in the future +RUN mkdir -p /usr/local/etc/php-fpm.d/ \ + # Allow the FPM process to access the environment variables passed in + && echo "clear_env = no" >> /usr/local/etc/php-fpm.d/www.conf \ + # logging + && echo "php_admin_flag[log_errors] = on" >> /usr/local/etc/php-fpm.d/www.conf + +# Make /src the root source directory +RUN rm -rf /usr/src && ln -s /src /usr/src + +# Globally install yarn +RUN npm install --global yarn + +WORKDIR /src diff --git a/node-php/8.3/bookworm/cli-composer/README.md b/node-php/8.3/bookworm/cli-composer/README.md new file mode 100644 index 0000000..a35abfe --- /dev/null +++ b/node-php/8.3/bookworm/cli-composer/README.md @@ -0,0 +1,159 @@ +# Supported tags and respective `Dockerfile` links + +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) +- [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) +- [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) +- [`8.0-fpm` (*8.0/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/fpm/Dockerfile) +- [`7.4-cli`, `7-cli`, `7.4`, `7` (*7.4/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/cli-composer/Dockerfile) +- [`7.4-cli-composer2` (*7.4/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/cli-composer2/Dockerfile) +- [`7.4-apache`, `7-apache` (*7.4/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/apache/Dockerfile) +- [`7.4-fpm`, `7-fpm` (*7.4/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/fpm/Dockerfile) +- [`7.3-cli`, `7.3`, (*7.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/cli-composer/Dockerfile) +- [`7.3-cli-composer2` (*7.3/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/cli-composer2/Dockerfile) +- [`7.3-apache`, (*7.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/apache/Dockerfile) +- [`7.3-fpm`, (*7.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/fpm/Dockerfile) +- [`7.2-cli`, `7.2` (*7.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/cli-composer/Dockerfile) +- [`7.2-cli-composer2` (*7.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/cli-composer2/Dockerfile) +- [`7.2-apache` (*7.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/apache/Dockerfile) +- [`7.2-fpm` (*7.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/fpm/Dockerfile) + +# Quick reference + +- **Where to get help**: + [the Riptide Docker Images Github Repository](https://github.com/theCapypara/riptide-docker-images) + +- **Where to file issues**: + [https://github.com/theCapypara/riptide-docker-images/issues](https://github.com/theCapypara/riptide-docker-images/issues) + +- **Maintained by**: + [the Riptide Community](https://github.com/theCapypara/riptide-docker-images) + +- **Source of this description**: + [README in riptide-docker-images repo](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php) ([history](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php)) + +# What is node-php? + +node-php images based on the [official php images](https://hub.docker.com/_/php) with the debian [nodejs package](https://packages.debian.org/sid/nodejs) included. + +These images work like their official counterpart, but: + +- They include the following php extensions (additional may be installed by default, depending on php version): + - xdebug 3 (not loaded by default & and controlled via XDEBUG_CONFIG, see below) + - pdo_mysql + - mysqli + - gd + - mbstring + - soap + - xsl + - intl + - ctype + - iconv + - json + - session + - simplexml + - tokenizer + - bcmath + - bz2 + - sockets + - yaml +- They include the following tools for developing with common php applications and Frameworks + - [Composer](https://getcomposer.org/) + - Composer 1 as `composer` + - Composer 2 as `composer2` + - NOTE: The `cli-composer2` images instead only contain Composer 2, linked as both `composer` and `composer2`. + - [wp-cli](https://wp-cli.org/) + - [n98-magerun](https://github.com/netz98/n98-magerun) + - [n98-magerun2](https://github.com/netz98/n98-magerun2) + - [Symfony CLI](https://symfony.com/) +- msmtp is installed by default to be used with a mailcatcher. It is configured in the php.ini but no msmtprc + file is present. If you want to use msmtp, create an "/etc/msmtprc". +- Includes an SSH client +- Includes Git + +Xdebug is not loaded by default for performance reasons. If you want +to enable Xdebug, add the following lines to the file ``/usr/local/etc/php/conf.d/xdebug.ini`` via a new image or mount: +```ini +zend_extension=xdebug.so +xdebug.remote_enable=on +xdebug.remote_autostart=off +``` + + +This image is meant for developers using php and node. If you are missing any extensions +or tools, be sure to open a [pull request](https://github.com/theCapypara/riptide-docker-images/pulls). + +# How to use this image. + +See the description of the [official php images](https://hub.docker.com/_/php). +The directory used for app sources is `/src`, not `/usr/src`! +Commands and scripts can additionally make use of `node`, `npm`, `npx` and `yarn`. + +This image is meant to be used with [Riptide](https://github.com/theCapypara/riptide-cli). +Using it without Riptide is probably possible, but not supported. + +## Basic Usage with Riptide + +A simple php app that uses the apache variant to run an Apache web-server: + +```yaml +app: + name: php-demo + services: + php_demo: + image: riptidepy/node-php:7.3-apache + environment: + APACHE_RUN_USER: '#{{ os_user() }}' + APACHE_RUN_GROUP: '#{{ os_group() }}' + port: 80 + run_as_current_user: false + roles: + - main + - src +``` + +For all image variants, expect for `apache`: + +- This image supports ``run_as_current_user: true`` for services (this is the default). + +For the `apache` image variant: + +- This image only supports ``run_as_current_user: false`` for services. + To run the image with the user controlling riptide, instead of the image user, provide the APACHE_RUN_USER and APACHE_RUN_GROUP environment variables, + as shown in the example above. + +## Basic Usage with Docker Run + +See the description of the [official php images](https://hub.docker.com/_/php) and [official Node images](https://hub.docker.com/_/node). + +# Environment Variables + +| Name | Required | Example Value(s) | Description | +|-----------------|----------|-------------------------------------|---------------------------------------------------------------------| +| APACHE_RUN_USER | see desc.| #1000 / #{{ os_user() }} (Riptide) | (apache only) ID of the user that Apache should switch to | +| APACHE_RUN_GROUP| see desc.| #1000 / #{{ os_group() }} (Riptide) | (apache only) ID of the group that the main command should switch to| +| XDEBUG_CONFIG | no | client_host={{ host_address() }} | [Xdebug configuration](https://xdebug.org/docs/remote) | +| XDEBUG_CONFIG | no | serverName=riptide-{{ name }}' | [phpStorm path mapping key](https://blog.jetbrains.com/phpstorm/2012/03/new-in-4-0-easier-debugging-of-remote-php-command-line-scripts/)| + +More environment variables may be provided by php, php-FPM, Apache, php extensions or Node. + +# Volumes + +- **/src**: Source code + +# Image Variants + +See the description of the [official php images](https://hub.docker.com/_/php). Only +variants for FPM, CLI and Apache are provided. Only variants based on Debian buster are provided. +Every variant includes the latest nodejs package that was present in the debian repositories at the time of building. diff --git a/node-php/8.3/bookworm/cli-composer2/Dockerfile b/node-php/8.3/bookworm/cli-composer2/Dockerfile new file mode 100644 index 0000000..9031268 --- /dev/null +++ b/node-php/8.3/bookworm/cli-composer2/Dockerfile @@ -0,0 +1,99 @@ +# THIS IS AUTO-GENERATED by builder/build.sh. DO NOT EDIT. +FROM php:8.3-cli-bookworm + +LABEL php_xdebug_version="3" + +# Some parts are based on https://hub.docker.com/r/alexcheng/magento2/dockerfile + +# PHP extensions, msmtp, NodeJS and NPM +RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfreetype6 libjpeg62-turbo libjpeg62-turbo-dev libpng-dev libxpm-dev libfreetype6-dev libicu-dev libxslt1-dev unzip libbz2-dev libzip-dev openssh-client libonig-dev git ssh-askpass libssl-dev libyaml-dev" \ + && apt-get update \ + && apt-get install -y $requirements \ + && docker-php-ext-install pdo_mysql \ + && docker-php-ext-install mysqli \ + && docker-php-ext-install soap \ + && docker-php-ext-install xsl \ + && docker-php-ext-install zip \ + && docker-php-ext-install intl \ + && docker-php-ext-install bcmath \ + && docker-php-ext-install bz2 \ + && docker-php-ext-install sockets \ + && docker-php-ext-configure gd --with-freetype --with-jpeg \ + && docker-php-ext-install gd \ + && docker-php-ext-install exif \ + && docker-php-ext-install opcache \ + && requirementsToRemove="libmcrypt-dev libwebp-dev libcurl3-dev libpng-dev libfreetype6-dev libjpeg62-turbo-dev libxpm-dev libbz2-dev libzip-dev libonig-dev" \ + && apt-get purge -y $requirementsToRemove \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +# Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) +RUN yes | pecl install xdebug + +# Install yaml +RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini + +# Riptide no longer enabled xdebug in it's image, for performance reasons. +# Please mount +# For Riptide < 0.6: The PHP commands/services in the Riptide Community Repository mount these settings already +# For Riptide >= 0.6: Use the plugin riptide-plugin-php-xdebug to toggle Xdebug. +# +# Previously these were the settings for Xdebug: +#&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini + +# Composer 2 +RUN curl -sS https://getcomposer.org/installer | php \ + && cp composer.phar /usr/local/bin/composer \ + && mv composer.phar /usr/local/bin/composer2 + +# wp-cli +RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ + && chmod +x ./wp-cli.phar \ + && mv ./wp-cli.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp-cli \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp + +# Magerun +RUN curl -O https://files.magerun.net/n98-magerun.phar \ + && chmod +x ./n98-magerun.phar \ + && mv ./n98-magerun.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/magerun \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/mr + +# Magerun2 +RUN curl -O https://files.magerun.net/n98-magerun2.phar \ + && chmod +x ./n98-magerun2.phar \ + && mv ./n98-magerun2.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/mr2 \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/magerun2 + +## Symfony +RUN curl -O https://get.symfony.com/cli/installer \ + && chmod +x ./installer \ + && ./installer --install-dir /usr/local/bin \ + && rm ./installer + +# Additional settings +# || true for non-apache variants +RUN a2enmod rewrite || true \ + && echo "memory_limit=-1" > /usr/local/etc/php/conf.d/memory-limit.ini \ + && echo "sendmail_path = /usr/bin/msmtp -t" > /usr/local/etc/php/conf.d/sendmail.ini + +# PHP-FPM: +# Since we use a template build, this get's executed in all images... could possibly +# change that in the future +RUN mkdir -p /usr/local/etc/php-fpm.d/ \ + # Allow the FPM process to access the environment variables passed in + && echo "clear_env = no" >> /usr/local/etc/php-fpm.d/www.conf \ + # logging + && echo "php_admin_flag[log_errors] = on" >> /usr/local/etc/php-fpm.d/www.conf + +# Make /src the root source directory +RUN rm -rf /usr/src && ln -s /src /usr/src + +# Globally install yarn +RUN npm install --global yarn + +WORKDIR /src diff --git a/node-php/8.3/bookworm/cli-composer2/README.md b/node-php/8.3/bookworm/cli-composer2/README.md new file mode 100644 index 0000000..a35abfe --- /dev/null +++ b/node-php/8.3/bookworm/cli-composer2/README.md @@ -0,0 +1,159 @@ +# Supported tags and respective `Dockerfile` links + +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) +- [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) +- [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) +- [`8.0-fpm` (*8.0/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/fpm/Dockerfile) +- [`7.4-cli`, `7-cli`, `7.4`, `7` (*7.4/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/cli-composer/Dockerfile) +- [`7.4-cli-composer2` (*7.4/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/cli-composer2/Dockerfile) +- [`7.4-apache`, `7-apache` (*7.4/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/apache/Dockerfile) +- [`7.4-fpm`, `7-fpm` (*7.4/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/fpm/Dockerfile) +- [`7.3-cli`, `7.3`, (*7.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/cli-composer/Dockerfile) +- [`7.3-cli-composer2` (*7.3/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/cli-composer2/Dockerfile) +- [`7.3-apache`, (*7.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/apache/Dockerfile) +- [`7.3-fpm`, (*7.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/fpm/Dockerfile) +- [`7.2-cli`, `7.2` (*7.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/cli-composer/Dockerfile) +- [`7.2-cli-composer2` (*7.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/cli-composer2/Dockerfile) +- [`7.2-apache` (*7.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/apache/Dockerfile) +- [`7.2-fpm` (*7.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/fpm/Dockerfile) + +# Quick reference + +- **Where to get help**: + [the Riptide Docker Images Github Repository](https://github.com/theCapypara/riptide-docker-images) + +- **Where to file issues**: + [https://github.com/theCapypara/riptide-docker-images/issues](https://github.com/theCapypara/riptide-docker-images/issues) + +- **Maintained by**: + [the Riptide Community](https://github.com/theCapypara/riptide-docker-images) + +- **Source of this description**: + [README in riptide-docker-images repo](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php) ([history](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php)) + +# What is node-php? + +node-php images based on the [official php images](https://hub.docker.com/_/php) with the debian [nodejs package](https://packages.debian.org/sid/nodejs) included. + +These images work like their official counterpart, but: + +- They include the following php extensions (additional may be installed by default, depending on php version): + - xdebug 3 (not loaded by default & and controlled via XDEBUG_CONFIG, see below) + - pdo_mysql + - mysqli + - gd + - mbstring + - soap + - xsl + - intl + - ctype + - iconv + - json + - session + - simplexml + - tokenizer + - bcmath + - bz2 + - sockets + - yaml +- They include the following tools for developing with common php applications and Frameworks + - [Composer](https://getcomposer.org/) + - Composer 1 as `composer` + - Composer 2 as `composer2` + - NOTE: The `cli-composer2` images instead only contain Composer 2, linked as both `composer` and `composer2`. + - [wp-cli](https://wp-cli.org/) + - [n98-magerun](https://github.com/netz98/n98-magerun) + - [n98-magerun2](https://github.com/netz98/n98-magerun2) + - [Symfony CLI](https://symfony.com/) +- msmtp is installed by default to be used with a mailcatcher. It is configured in the php.ini but no msmtprc + file is present. If you want to use msmtp, create an "/etc/msmtprc". +- Includes an SSH client +- Includes Git + +Xdebug is not loaded by default for performance reasons. If you want +to enable Xdebug, add the following lines to the file ``/usr/local/etc/php/conf.d/xdebug.ini`` via a new image or mount: +```ini +zend_extension=xdebug.so +xdebug.remote_enable=on +xdebug.remote_autostart=off +``` + + +This image is meant for developers using php and node. If you are missing any extensions +or tools, be sure to open a [pull request](https://github.com/theCapypara/riptide-docker-images/pulls). + +# How to use this image. + +See the description of the [official php images](https://hub.docker.com/_/php). +The directory used for app sources is `/src`, not `/usr/src`! +Commands and scripts can additionally make use of `node`, `npm`, `npx` and `yarn`. + +This image is meant to be used with [Riptide](https://github.com/theCapypara/riptide-cli). +Using it without Riptide is probably possible, but not supported. + +## Basic Usage with Riptide + +A simple php app that uses the apache variant to run an Apache web-server: + +```yaml +app: + name: php-demo + services: + php_demo: + image: riptidepy/node-php:7.3-apache + environment: + APACHE_RUN_USER: '#{{ os_user() }}' + APACHE_RUN_GROUP: '#{{ os_group() }}' + port: 80 + run_as_current_user: false + roles: + - main + - src +``` + +For all image variants, expect for `apache`: + +- This image supports ``run_as_current_user: true`` for services (this is the default). + +For the `apache` image variant: + +- This image only supports ``run_as_current_user: false`` for services. + To run the image with the user controlling riptide, instead of the image user, provide the APACHE_RUN_USER and APACHE_RUN_GROUP environment variables, + as shown in the example above. + +## Basic Usage with Docker Run + +See the description of the [official php images](https://hub.docker.com/_/php) and [official Node images](https://hub.docker.com/_/node). + +# Environment Variables + +| Name | Required | Example Value(s) | Description | +|-----------------|----------|-------------------------------------|---------------------------------------------------------------------| +| APACHE_RUN_USER | see desc.| #1000 / #{{ os_user() }} (Riptide) | (apache only) ID of the user that Apache should switch to | +| APACHE_RUN_GROUP| see desc.| #1000 / #{{ os_group() }} (Riptide) | (apache only) ID of the group that the main command should switch to| +| XDEBUG_CONFIG | no | client_host={{ host_address() }} | [Xdebug configuration](https://xdebug.org/docs/remote) | +| XDEBUG_CONFIG | no | serverName=riptide-{{ name }}' | [phpStorm path mapping key](https://blog.jetbrains.com/phpstorm/2012/03/new-in-4-0-easier-debugging-of-remote-php-command-line-scripts/)| + +More environment variables may be provided by php, php-FPM, Apache, php extensions or Node. + +# Volumes + +- **/src**: Source code + +# Image Variants + +See the description of the [official php images](https://hub.docker.com/_/php). Only +variants for FPM, CLI and Apache are provided. Only variants based on Debian buster are provided. +Every variant includes the latest nodejs package that was present in the debian repositories at the time of building. diff --git a/node-php/8.3/bookworm/fpm/Dockerfile b/node-php/8.3/bookworm/fpm/Dockerfile new file mode 100644 index 0000000..9a15d04 --- /dev/null +++ b/node-php/8.3/bookworm/fpm/Dockerfile @@ -0,0 +1,102 @@ +# THIS IS AUTO-GENERATED by builder/build.sh. DO NOT EDIT. +FROM php:8.3-fpm-bookworm + +LABEL php_xdebug_version="3" + +# Some parts are based on https://hub.docker.com/r/alexcheng/magento2/dockerfile + +# PHP extensions, msmtp, NodeJS and NPM +RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfreetype6 libjpeg62-turbo libjpeg62-turbo-dev libpng-dev libxpm-dev libfreetype6-dev libicu-dev libxslt1-dev unzip libbz2-dev libzip-dev openssh-client libonig-dev git ssh-askpass libssl-dev libyaml-dev" \ + && apt-get update \ + && apt-get install -y $requirements \ + && docker-php-ext-install pdo_mysql \ + && docker-php-ext-install mysqli \ + && docker-php-ext-install soap \ + && docker-php-ext-install xsl \ + && docker-php-ext-install zip \ + && docker-php-ext-install intl \ + && docker-php-ext-install bcmath \ + && docker-php-ext-install bz2 \ + && docker-php-ext-install sockets \ + && docker-php-ext-configure gd --with-freetype --with-jpeg \ + && docker-php-ext-install gd \ + && docker-php-ext-install exif \ + && docker-php-ext-install opcache \ + && requirementsToRemove="libmcrypt-dev libwebp-dev libcurl3-dev libpng-dev libfreetype6-dev libjpeg62-turbo-dev libxpm-dev libbz2-dev libzip-dev libonig-dev" \ + && apt-get purge -y $requirementsToRemove \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +# Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) +RUN yes | pecl install xdebug + +# Install yaml +RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini + +# Riptide no longer enabled xdebug in it's image, for performance reasons. +# Please mount +# For Riptide < 0.6: The PHP commands/services in the Riptide Community Repository mount these settings already +# For Riptide >= 0.6: Use the plugin riptide-plugin-php-xdebug to toggle Xdebug. +# +# Previously these were the settings for Xdebug: +#&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini + +# Composer 1 +RUN curl -sS https://getcomposer.org/installer | php -- --1 \ + && mv composer.phar /usr/local/bin/composer + +# Composer 2 +RUN curl -sS https://getcomposer.org/installer | php \ + && mv composer.phar /usr/local/bin/composer2 + +# wp-cli +RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ + && chmod +x ./wp-cli.phar \ + && mv ./wp-cli.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp-cli \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp + +# Magerun +RUN curl -O https://files.magerun.net/n98-magerun.phar \ + && chmod +x ./n98-magerun.phar \ + && mv ./n98-magerun.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/magerun \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/mr + +# Magerun2 +RUN curl -O https://files.magerun.net/n98-magerun2.phar \ + && chmod +x ./n98-magerun2.phar \ + && mv ./n98-magerun2.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/mr2 \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/magerun2 + +## Symfony +RUN curl -O https://get.symfony.com/cli/installer \ + && chmod +x ./installer \ + && ./installer --install-dir /usr/local/bin \ + && rm ./installer + +# Additional settings +# || true for non-apache variants +RUN a2enmod rewrite || true \ + && echo "memory_limit=-1" > /usr/local/etc/php/conf.d/memory-limit.ini \ + && echo "sendmail_path = /usr/bin/msmtp -t" > /usr/local/etc/php/conf.d/sendmail.ini + +# PHP-FPM: +# Since we use a template build, this get's executed in all images... could possibly +# change that in the future +RUN mkdir -p /usr/local/etc/php-fpm.d/ \ + # Allow the FPM process to access the environment variables passed in + && echo "clear_env = no" >> /usr/local/etc/php-fpm.d/www.conf \ + # logging + && echo "php_admin_flag[log_errors] = on" >> /usr/local/etc/php-fpm.d/www.conf + +# Make /src the root source directory +RUN rm -rf /usr/src && ln -s /src /usr/src + +# Globally install yarn +RUN npm install --global yarn + +WORKDIR /src diff --git a/node-php/8.3/bookworm/fpm/README.md b/node-php/8.3/bookworm/fpm/README.md new file mode 100644 index 0000000..a35abfe --- /dev/null +++ b/node-php/8.3/bookworm/fpm/README.md @@ -0,0 +1,159 @@ +# Supported tags and respective `Dockerfile` links + +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) +- [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) +- [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) +- [`8.0-fpm` (*8.0/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/fpm/Dockerfile) +- [`7.4-cli`, `7-cli`, `7.4`, `7` (*7.4/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/cli-composer/Dockerfile) +- [`7.4-cli-composer2` (*7.4/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/cli-composer2/Dockerfile) +- [`7.4-apache`, `7-apache` (*7.4/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/apache/Dockerfile) +- [`7.4-fpm`, `7-fpm` (*7.4/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.4/buster/fpm/Dockerfile) +- [`7.3-cli`, `7.3`, (*7.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/cli-composer/Dockerfile) +- [`7.3-cli-composer2` (*7.3/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/cli-composer2/Dockerfile) +- [`7.3-apache`, (*7.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/apache/Dockerfile) +- [`7.3-fpm`, (*7.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.3/buster/fpm/Dockerfile) +- [`7.2-cli`, `7.2` (*7.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/cli-composer/Dockerfile) +- [`7.2-cli-composer2` (*7.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/cli-composer2/Dockerfile) +- [`7.2-apache` (*7.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/apache/Dockerfile) +- [`7.2-fpm` (*7.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/7.2/buster/fpm/Dockerfile) + +# Quick reference + +- **Where to get help**: + [the Riptide Docker Images Github Repository](https://github.com/theCapypara/riptide-docker-images) + +- **Where to file issues**: + [https://github.com/theCapypara/riptide-docker-images/issues](https://github.com/theCapypara/riptide-docker-images/issues) + +- **Maintained by**: + [the Riptide Community](https://github.com/theCapypara/riptide-docker-images) + +- **Source of this description**: + [README in riptide-docker-images repo](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php) ([history](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php)) + +# What is node-php? + +node-php images based on the [official php images](https://hub.docker.com/_/php) with the debian [nodejs package](https://packages.debian.org/sid/nodejs) included. + +These images work like their official counterpart, but: + +- They include the following php extensions (additional may be installed by default, depending on php version): + - xdebug 3 (not loaded by default & and controlled via XDEBUG_CONFIG, see below) + - pdo_mysql + - mysqli + - gd + - mbstring + - soap + - xsl + - intl + - ctype + - iconv + - json + - session + - simplexml + - tokenizer + - bcmath + - bz2 + - sockets + - yaml +- They include the following tools for developing with common php applications and Frameworks + - [Composer](https://getcomposer.org/) + - Composer 1 as `composer` + - Composer 2 as `composer2` + - NOTE: The `cli-composer2` images instead only contain Composer 2, linked as both `composer` and `composer2`. + - [wp-cli](https://wp-cli.org/) + - [n98-magerun](https://github.com/netz98/n98-magerun) + - [n98-magerun2](https://github.com/netz98/n98-magerun2) + - [Symfony CLI](https://symfony.com/) +- msmtp is installed by default to be used with a mailcatcher. It is configured in the php.ini but no msmtprc + file is present. If you want to use msmtp, create an "/etc/msmtprc". +- Includes an SSH client +- Includes Git + +Xdebug is not loaded by default for performance reasons. If you want +to enable Xdebug, add the following lines to the file ``/usr/local/etc/php/conf.d/xdebug.ini`` via a new image or mount: +```ini +zend_extension=xdebug.so +xdebug.remote_enable=on +xdebug.remote_autostart=off +``` + + +This image is meant for developers using php and node. If you are missing any extensions +or tools, be sure to open a [pull request](https://github.com/theCapypara/riptide-docker-images/pulls). + +# How to use this image. + +See the description of the [official php images](https://hub.docker.com/_/php). +The directory used for app sources is `/src`, not `/usr/src`! +Commands and scripts can additionally make use of `node`, `npm`, `npx` and `yarn`. + +This image is meant to be used with [Riptide](https://github.com/theCapypara/riptide-cli). +Using it without Riptide is probably possible, but not supported. + +## Basic Usage with Riptide + +A simple php app that uses the apache variant to run an Apache web-server: + +```yaml +app: + name: php-demo + services: + php_demo: + image: riptidepy/node-php:7.3-apache + environment: + APACHE_RUN_USER: '#{{ os_user() }}' + APACHE_RUN_GROUP: '#{{ os_group() }}' + port: 80 + run_as_current_user: false + roles: + - main + - src +``` + +For all image variants, expect for `apache`: + +- This image supports ``run_as_current_user: true`` for services (this is the default). + +For the `apache` image variant: + +- This image only supports ``run_as_current_user: false`` for services. + To run the image with the user controlling riptide, instead of the image user, provide the APACHE_RUN_USER and APACHE_RUN_GROUP environment variables, + as shown in the example above. + +## Basic Usage with Docker Run + +See the description of the [official php images](https://hub.docker.com/_/php) and [official Node images](https://hub.docker.com/_/node). + +# Environment Variables + +| Name | Required | Example Value(s) | Description | +|-----------------|----------|-------------------------------------|---------------------------------------------------------------------| +| APACHE_RUN_USER | see desc.| #1000 / #{{ os_user() }} (Riptide) | (apache only) ID of the user that Apache should switch to | +| APACHE_RUN_GROUP| see desc.| #1000 / #{{ os_group() }} (Riptide) | (apache only) ID of the group that the main command should switch to| +| XDEBUG_CONFIG | no | client_host={{ host_address() }} | [Xdebug configuration](https://xdebug.org/docs/remote) | +| XDEBUG_CONFIG | no | serverName=riptide-{{ name }}' | [phpStorm path mapping key](https://blog.jetbrains.com/phpstorm/2012/03/new-in-4-0-easier-debugging-of-remote-php-command-line-scripts/)| + +More environment variables may be provided by php, php-FPM, Apache, php extensions or Node. + +# Volumes + +- **/src**: Source code + +# Image Variants + +See the description of the [official php images](https://hub.docker.com/_/php). Only +variants for FPM, CLI and Apache are provided. Only variants based on Debian buster are provided. +Every variant includes the latest nodejs package that was present in the debian repositories at the time of building. diff --git a/node-php/README.md b/node-php/README.md index ab3a243..a35abfe 100644 --- a/node-php/README.md +++ b/node-php/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/node-php/8.0/buster/apache/Dockerfile) diff --git a/node-php/builder/Dockerfile b/node-php/builder/Dockerfile index 7ba19eb..6c1febc 100644 --- a/node-php/builder/Dockerfile +++ b/node-php/builder/Dockerfile @@ -31,9 +31,6 @@ RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3 # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/node-php/builder/Dockerfile-composer2 b/node-php/builder/Dockerfile-composer2 index b7c6649..b3795ec 100644 --- a/node-php/builder/Dockerfile-composer2 +++ b/node-php/builder/Dockerfile-composer2 @@ -31,9 +31,6 @@ RUN requirements="nodejs npm msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3 # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/php/8.0/buster/apache/Dockerfile b/php/8.0/buster/apache/Dockerfile index 5842770..3a88c07 100644 --- a/php/8.0/buster/apache/Dockerfile +++ b/php/8.0/buster/apache/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfre # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/php/8.0/buster/apache/README.md b/php/8.0/buster/apache/README.md index 1a3d396..667b418 100644 --- a/php/8.0/buster/apache/README.md +++ b/php/8.0/buster/apache/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) diff --git a/php/8.0/buster/cli-composer/Dockerfile b/php/8.0/buster/cli-composer/Dockerfile index 845a111..e3c63b0 100644 --- a/php/8.0/buster/cli-composer/Dockerfile +++ b/php/8.0/buster/cli-composer/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfre # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/php/8.0/buster/cli-composer/README.md b/php/8.0/buster/cli-composer/README.md index 1a3d396..667b418 100644 --- a/php/8.0/buster/cli-composer/README.md +++ b/php/8.0/buster/cli-composer/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) diff --git a/php/8.0/buster/cli-composer2/Dockerfile b/php/8.0/buster/cli-composer2/Dockerfile index 8ba287b..bc4b759 100644 --- a/php/8.0/buster/cli-composer2/Dockerfile +++ b/php/8.0/buster/cli-composer2/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfre # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/php/8.0/buster/cli-composer2/README.md b/php/8.0/buster/cli-composer2/README.md index 1a3d396..667b418 100644 --- a/php/8.0/buster/cli-composer2/README.md +++ b/php/8.0/buster/cli-composer2/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) diff --git a/php/8.0/buster/fpm/Dockerfile b/php/8.0/buster/fpm/Dockerfile index 840b09f..e88be3b 100644 --- a/php/8.0/buster/fpm/Dockerfile +++ b/php/8.0/buster/fpm/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfre # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/php/8.0/buster/fpm/README.md b/php/8.0/buster/fpm/README.md index 1a3d396..667b418 100644 --- a/php/8.0/buster/fpm/README.md +++ b/php/8.0/buster/fpm/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) diff --git a/php/8.1/buster/apache/Dockerfile b/php/8.1/buster/apache/Dockerfile index 3b40c69..3ee9c7b 100644 --- a/php/8.1/buster/apache/Dockerfile +++ b/php/8.1/buster/apache/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfre # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/php/8.1/buster/apache/README.md b/php/8.1/buster/apache/README.md index 1a3d396..667b418 100644 --- a/php/8.1/buster/apache/README.md +++ b/php/8.1/buster/apache/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) diff --git a/php/8.1/buster/cli-composer/Dockerfile b/php/8.1/buster/cli-composer/Dockerfile index 5a08d0b..77dce8e 100644 --- a/php/8.1/buster/cli-composer/Dockerfile +++ b/php/8.1/buster/cli-composer/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfre # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/php/8.1/buster/cli-composer/README.md b/php/8.1/buster/cli-composer/README.md index 1a3d396..667b418 100644 --- a/php/8.1/buster/cli-composer/README.md +++ b/php/8.1/buster/cli-composer/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) diff --git a/php/8.1/buster/cli-composer2/Dockerfile b/php/8.1/buster/cli-composer2/Dockerfile index ec20dd4..556bc0d 100644 --- a/php/8.1/buster/cli-composer2/Dockerfile +++ b/php/8.1/buster/cli-composer2/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfre # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/php/8.1/buster/cli-composer2/README.md b/php/8.1/buster/cli-composer2/README.md index 1a3d396..667b418 100644 --- a/php/8.1/buster/cli-composer2/README.md +++ b/php/8.1/buster/cli-composer2/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) diff --git a/php/8.1/buster/fpm/Dockerfile b/php/8.1/buster/fpm/Dockerfile index 2799919..79a3e0b 100644 --- a/php/8.1/buster/fpm/Dockerfile +++ b/php/8.1/buster/fpm/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfre # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/php/8.1/buster/fpm/README.md b/php/8.1/buster/fpm/README.md index 1a3d396..667b418 100644 --- a/php/8.1/buster/fpm/README.md +++ b/php/8.1/buster/fpm/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) diff --git a/php/8.2/buster/apache/Dockerfile b/php/8.2/buster/apache/Dockerfile index b38b946..345c3e5 100644 --- a/php/8.2/buster/apache/Dockerfile +++ b/php/8.2/buster/apache/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfre # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/php/8.2/buster/apache/README.md b/php/8.2/buster/apache/README.md index 1a3d396..667b418 100644 --- a/php/8.2/buster/apache/README.md +++ b/php/8.2/buster/apache/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) diff --git a/php/8.2/buster/cli-composer/Dockerfile b/php/8.2/buster/cli-composer/Dockerfile index 88a611a..1965db7 100644 --- a/php/8.2/buster/cli-composer/Dockerfile +++ b/php/8.2/buster/cli-composer/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfre # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/php/8.2/buster/cli-composer/README.md b/php/8.2/buster/cli-composer/README.md index 1a3d396..667b418 100644 --- a/php/8.2/buster/cli-composer/README.md +++ b/php/8.2/buster/cli-composer/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) diff --git a/php/8.2/buster/cli-composer2/Dockerfile b/php/8.2/buster/cli-composer2/Dockerfile index b5c0111..4469f32 100644 --- a/php/8.2/buster/cli-composer2/Dockerfile +++ b/php/8.2/buster/cli-composer2/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfre # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/php/8.2/buster/cli-composer2/README.md b/php/8.2/buster/cli-composer2/README.md index 1a3d396..667b418 100644 --- a/php/8.2/buster/cli-composer2/README.md +++ b/php/8.2/buster/cli-composer2/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) diff --git a/php/8.2/buster/fpm/Dockerfile b/php/8.2/buster/fpm/Dockerfile index 3033732..86398ba 100644 --- a/php/8.2/buster/fpm/Dockerfile +++ b/php/8.2/buster/fpm/Dockerfile @@ -30,9 +30,6 @@ RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfre # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/php/8.2/buster/fpm/README.md b/php/8.2/buster/fpm/README.md index 1a3d396..667b418 100644 --- a/php/8.2/buster/fpm/README.md +++ b/php/8.2/buster/fpm/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) diff --git a/php/8.3/bookworm/apache/000-default.conf b/php/8.3/bookworm/apache/000-default.conf new file mode 100644 index 0000000..18ce104 --- /dev/null +++ b/php/8.3/bookworm/apache/000-default.conf @@ -0,0 +1,12 @@ + + ServerAdmin webmaster@riptide + DocumentRoot "/src" + + ErrorLog ${APACHE_LOG_DIR}/error.log + CustomLog ${APACHE_LOG_DIR}/access.log combined + + + AllowOverride All + Require all granted + + diff --git a/php/8.3/bookworm/apache/Dockerfile b/php/8.3/bookworm/apache/Dockerfile new file mode 100644 index 0000000..6f77006 --- /dev/null +++ b/php/8.3/bookworm/apache/Dockerfile @@ -0,0 +1,99 @@ +# THIS IS AUTO-GENERATED by builder/build.sh. DO NOT EDIT. +FROM php:8.3-apache-bookworm + +LABEL php_xdebug_version="3" + +# Some parts are based on https://hub.docker.com/r/alexcheng/magento2/dockerfile + +# PHP extensions and msmtp +RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfreetype6 libjpeg62-turbo libjpeg62-turbo-dev libpng-dev libxpm-dev libfreetype6-dev libicu-dev libxslt1-dev unzip libbz2-dev libzip-dev openssh-client libonig-dev git ssh-askpass libssl-dev libyaml-dev" \ + && apt-get update \ + && apt-get install -y $requirements \ + && docker-php-ext-install pdo_mysql \ + && docker-php-ext-install mysqli \ + && docker-php-ext-install soap \ + && docker-php-ext-install xsl \ + && docker-php-ext-install zip \ + && docker-php-ext-install intl \ + && docker-php-ext-install bcmath \ + && docker-php-ext-install bz2 \ + && docker-php-ext-install sockets \ + && docker-php-ext-configure gd --with-freetype --with-jpeg \ + && docker-php-ext-install gd \ + && docker-php-ext-install exif \ + && docker-php-ext-install opcache \ + && requirementsToRemove="libmcrypt-dev libwebp-dev libcurl3-dev libpng-dev libfreetype6-dev libjpeg62-turbo-dev libxpm-dev libbz2-dev libzip-dev libonig-dev" \ + && apt-get purge -y $requirementsToRemove \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +# Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) +RUN yes | pecl install xdebug + +# Install yaml +RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini + +# Riptide no longer enabled xdebug in it's image, for performance reasons. +# Please mount +# For Riptide < 0.6: The PHP commands/services in the Riptide Community Repository mount these settings already +# For Riptide >= 0.6: Use the plugin riptide-plugin-php-xdebug to toggle Xdebug. +# +# Previously these were the settings for Xdebug: +#&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini + +# Composer 1 +RUN curl -sS https://getcomposer.org/installer | php -- --1 \ + && mv composer.phar /usr/local/bin/composer + +# Composer 2 +RUN curl -sS https://getcomposer.org/installer | php \ + && mv composer.phar /usr/local/bin/composer2 + +# wp-cli +RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ + && chmod +x ./wp-cli.phar \ + && mv ./wp-cli.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp-cli \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp + +# Magerun +RUN curl -O https://files.magerun.net/n98-magerun.phar \ + && chmod +x ./n98-magerun.phar \ + && mv ./n98-magerun.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/magerun \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/mr + +# Magerun2 +RUN curl -O https://files.magerun.net/n98-magerun2.phar \ + && chmod +x ./n98-magerun2.phar \ + && mv ./n98-magerun2.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/mr2 \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/magerun2 + +## Symfony +RUN curl -O https://get.symfony.com/cli/installer \ + && chmod +x ./installer \ + && ./installer --install-dir /usr/local/bin \ + && rm ./installer + +# Additional settings +# || true for non-apache variants +RUN a2enmod rewrite || true \ + && echo "memory_limit=-1" > /usr/local/etc/php/conf.d/memory-limit.ini \ + && echo "sendmail_path = /usr/bin/msmtp -t" > /usr/local/etc/php/conf.d/sendmail.ini + +# PHP-FPM: +# Since we use a template build, this get's executed in all images... could possibly +# change that in the future +RUN mkdir -p /usr/local/etc/php-fpm.d/ \ + # Allow the FPM process to access the environment variables passed in + && echo "clear_env = no" >> /usr/local/etc/php-fpm.d/www.conf \ + # logging + && echo "php_admin_flag[log_errors] = on" >> /usr/local/etc/php-fpm.d/www.conf + +# Make /src the root source directory +RUN rm -rf /usr/src && ln -s /src /usr/src +WORKDIR /src +COPY 000-default.conf /etc/apache2/sites-enabled/000-default.conf diff --git a/php/8.3/bookworm/apache/README.md b/php/8.3/bookworm/apache/README.md new file mode 100644 index 0000000..667b418 --- /dev/null +++ b/php/8.3/bookworm/apache/README.md @@ -0,0 +1,157 @@ +# Supported tags and respective `Dockerfile` links + +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) +- [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) +- [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) +- [`8.0-fpm` (*8.0/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/fpm/Dockerfile) +- [`7.4-cli`, `7-cli`, `7.4`, `7` (*7.4/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/cli-composer/Dockerfile) +- [`7.4-cli-composer2` (*7.4/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/cli-composer2/Dockerfile) +- [`7.4-apache`, `7-apache` (*7.4/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/apache/Dockerfile) +- [`7.4-fpm`, `7-fpm` (*7.4/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/fpm/Dockerfile) +- [`7.3-cli`, `7.3`, (*7.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/cli-composer/Dockerfile) +- [`7.3-cli-composer2` (*7.3/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/cli-composer2/Dockerfile) +- [`7.3-apache`, (*7.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/apache/Dockerfile) +- [`7.3-fpm`, (*7.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/fpm/Dockerfile) +- [`7.2-cli`, `7.2` (*7.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/cli-composer/Dockerfile) +- [`7.2-cli-composer2` (*7.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/cli-composer2/Dockerfile) +- [`7.2-apache` (*7.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/apache/Dockerfile) +- [`7.2-fpm` (*7.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/fpm/Dockerfile) + +# Quick reference + +- **Where to get help**: + [the Riptide Docker Images Github Repository](https://github.com/theCapypara/riptide-docker-images) + +- **Where to file issues**: + [https://github.com/theCapypara/riptide-docker-images/issues](https://github.com/theCapypara/riptide-docker-images/issues) + +- **Maintained by**: + [the Riptide Community](https://github.com/theCapypara/riptide-docker-images) + +- **Source of this description**: + [README in riptide-docker-images repo](https://github.com/theCapypara/riptide-docker-images/tree/master/php) ([history](https://github.com/theCapypara/riptide-docker-images/tree/master/php)) + +# What is php? + +php images based on the [official PHP images](https://hub.docker.com/_/php). + +These images work like their official counterpart, but: + +- They include the following PHP extensions (additional may be installed by default, depending on PHP version): + - xdebug 3 (not loaded by default & and controlled via XDEBUG_CONFIG, see below) + - pdo_mysql + - mysqli + - gd + - mbstring + - soap + - xsl + - intl + - ctype + - iconv + - json + - session + - simplexml + - tokenizer + - bcmath + - bz2 + - sockets + - yaml +- They include the following tools for developing with common PHP applications and Frameworks + - [Composer](https://getcomposer.org/) + - Composer 1 as `composer` + - Composer 2 as `composer2` + - NOTE: The `cli-composer2` images instead only contain Composer 2, linked as both `composer` and `composer2`. + - [wp-cli](https://wp-cli.org/) + - [n98-magerun](https://github.com/netz98/n98-magerun) + - [n98-magerun2](https://github.com/netz98/n98-magerun2) + - [Symfony CLI](https://symfony.com/) +- msmtp is installed by default to be used with a mailcatcher. It is configured in the php.ini but no msmtprc + file is present. If you want to use msmtp, create an "/etc/msmtprc". +- Includes an SSH client +- Includes Git + +Xdebug is not loaded by default for performance reasons. If you want +to enable Xdebug, add the following lines to the file ``/usr/local/etc/php/conf.d/xdebug.ini`` via a new image or mount: +```ini +zend_extension=xdebug.so +xdebug.remote_enable=on +xdebug.remote_autostart=off +``` + + +This image is meant for developers using PHP. If you are missing any extensions +or tools, be sure to open a [pull request](https://github.com/theCapypara/riptide-docker-images/pulls). + +# How to use this image. + +See the description of the [official PHP images](https://hub.docker.com/_/php). +The directory used for app sources is `/src`, not `/usr/src`! + +This image is meant to be used with [Riptide](https://github.com/theCapypara/riptide-cli). +Using it without Riptide is probably possible, but not supported. + +## Basic Usage with Riptide + +A simple PHP app that uses the apache variant to run an Apache web-server: + +```yaml +app: + name: php-demo + services: + php_demo: + image: riptidepy/php:7.3-apache + environment: + APACHE_RUN_USER: '#{{ os_user() }}' + APACHE_RUN_GROUP: '#{{ os_group() }}' + port: 80 + run_as_current_user: false + roles: + - main + - src +``` + +For all image variants, expect for `apache`: + +- This image supports ``run_as_current_user: true`` for services (this is the default). + +For the `apache` image variant: + +- This image only supports ``run_as_current_user: false`` for services. + To run the image with the user controlling riptide, instead of the image user, provide the APACHE_RUN_USER and APACHE_RUN_GROUP environment variables, + as shown in the example above. + +## Basic Usage with Docker Run + +See the description of the [official PHP images](https://hub.docker.com/_/php). + +# Environment Variables + +| Name | Required | Example Value(s) | Description | +|-----------------|----------|-------------------------------------|---------------------------------------------------------------------| +| APACHE_RUN_USER | see desc.| #1000 / #{{ os_user() }} (Riptide) | (apache only) ID of the user that Apache should switch to | +| APACHE_RUN_GROUP| see desc.| #1000 / #{{ os_group() }} (Riptide) | (apache only) ID of the group that the main command should switch to| +| XDEBUG_CONFIG | no | client_host={{ host_address() }} | [Xdebug configuration](https://xdebug.org/docs/remote) | +| XDEBUG_CONFIG | no | serverName=riptide-{{ name }}' | [PhpStorm path mapping key](https://blog.jetbrains.com/phpstorm/2012/03/new-in-4-0-easier-debugging-of-remote-php-command-line-scripts/)| + +More environment variables may be provided by PHP, PHP-FPM, Apache or the PHP extensions. + +# Volumes + +- **/src**: Source code + +# Image Variants + +See the description of the [official PHP images](https://hub.docker.com/_/php). Only +variants for FPM, CLI and Apache are provided. Only variants based on Debian buster are provided. diff --git a/php/8.3/bookworm/cli-composer/Dockerfile b/php/8.3/bookworm/cli-composer/Dockerfile new file mode 100644 index 0000000..36863ba --- /dev/null +++ b/php/8.3/bookworm/cli-composer/Dockerfile @@ -0,0 +1,98 @@ +# THIS IS AUTO-GENERATED by builder/build.sh. DO NOT EDIT. +FROM php:8.3-cli-bookworm + +LABEL php_xdebug_version="3" + +# Some parts are based on https://hub.docker.com/r/alexcheng/magento2/dockerfile + +# PHP extensions and msmtp +RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfreetype6 libjpeg62-turbo libjpeg62-turbo-dev libpng-dev libxpm-dev libfreetype6-dev libicu-dev libxslt1-dev unzip libbz2-dev libzip-dev openssh-client libonig-dev git ssh-askpass libssl-dev libyaml-dev" \ + && apt-get update \ + && apt-get install -y $requirements \ + && docker-php-ext-install pdo_mysql \ + && docker-php-ext-install mysqli \ + && docker-php-ext-install soap \ + && docker-php-ext-install xsl \ + && docker-php-ext-install zip \ + && docker-php-ext-install intl \ + && docker-php-ext-install bcmath \ + && docker-php-ext-install bz2 \ + && docker-php-ext-install sockets \ + && docker-php-ext-configure gd --with-freetype --with-jpeg \ + && docker-php-ext-install gd \ + && docker-php-ext-install exif \ + && docker-php-ext-install opcache \ + && requirementsToRemove="libmcrypt-dev libwebp-dev libcurl3-dev libpng-dev libfreetype6-dev libjpeg62-turbo-dev libxpm-dev libbz2-dev libzip-dev libonig-dev" \ + && apt-get purge -y $requirementsToRemove \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +# Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) +RUN yes | pecl install xdebug + +# Install yaml +RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini + +# Riptide no longer enabled xdebug in it's image, for performance reasons. +# Please mount +# For Riptide < 0.6: The PHP commands/services in the Riptide Community Repository mount these settings already +# For Riptide >= 0.6: Use the plugin riptide-plugin-php-xdebug to toggle Xdebug. +# +# Previously these were the settings for Xdebug: +#&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini + +# Composer 1 +RUN curl -sS https://getcomposer.org/installer | php -- --1 \ + && mv composer.phar /usr/local/bin/composer + +# Composer 2 +RUN curl -sS https://getcomposer.org/installer | php \ + && mv composer.phar /usr/local/bin/composer2 + +# wp-cli +RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ + && chmod +x ./wp-cli.phar \ + && mv ./wp-cli.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp-cli \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp + +# Magerun +RUN curl -O https://files.magerun.net/n98-magerun.phar \ + && chmod +x ./n98-magerun.phar \ + && mv ./n98-magerun.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/magerun \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/mr + +# Magerun2 +RUN curl -O https://files.magerun.net/n98-magerun2.phar \ + && chmod +x ./n98-magerun2.phar \ + && mv ./n98-magerun2.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/mr2 \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/magerun2 + +## Symfony +RUN curl -O https://get.symfony.com/cli/installer \ + && chmod +x ./installer \ + && ./installer --install-dir /usr/local/bin \ + && rm ./installer + +# Additional settings +# || true for non-apache variants +RUN a2enmod rewrite || true \ + && echo "memory_limit=-1" > /usr/local/etc/php/conf.d/memory-limit.ini \ + && echo "sendmail_path = /usr/bin/msmtp -t" > /usr/local/etc/php/conf.d/sendmail.ini + +# PHP-FPM: +# Since we use a template build, this get's executed in all images... could possibly +# change that in the future +RUN mkdir -p /usr/local/etc/php-fpm.d/ \ + # Allow the FPM process to access the environment variables passed in + && echo "clear_env = no" >> /usr/local/etc/php-fpm.d/www.conf \ + # logging + && echo "php_admin_flag[log_errors] = on" >> /usr/local/etc/php-fpm.d/www.conf + +# Make /src the root source directory +RUN rm -rf /usr/src && ln -s /src /usr/src +WORKDIR /src diff --git a/php/8.3/bookworm/cli-composer/README.md b/php/8.3/bookworm/cli-composer/README.md new file mode 100644 index 0000000..667b418 --- /dev/null +++ b/php/8.3/bookworm/cli-composer/README.md @@ -0,0 +1,157 @@ +# Supported tags and respective `Dockerfile` links + +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) +- [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) +- [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) +- [`8.0-fpm` (*8.0/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/fpm/Dockerfile) +- [`7.4-cli`, `7-cli`, `7.4`, `7` (*7.4/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/cli-composer/Dockerfile) +- [`7.4-cli-composer2` (*7.4/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/cli-composer2/Dockerfile) +- [`7.4-apache`, `7-apache` (*7.4/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/apache/Dockerfile) +- [`7.4-fpm`, `7-fpm` (*7.4/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/fpm/Dockerfile) +- [`7.3-cli`, `7.3`, (*7.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/cli-composer/Dockerfile) +- [`7.3-cli-composer2` (*7.3/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/cli-composer2/Dockerfile) +- [`7.3-apache`, (*7.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/apache/Dockerfile) +- [`7.3-fpm`, (*7.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/fpm/Dockerfile) +- [`7.2-cli`, `7.2` (*7.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/cli-composer/Dockerfile) +- [`7.2-cli-composer2` (*7.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/cli-composer2/Dockerfile) +- [`7.2-apache` (*7.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/apache/Dockerfile) +- [`7.2-fpm` (*7.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/fpm/Dockerfile) + +# Quick reference + +- **Where to get help**: + [the Riptide Docker Images Github Repository](https://github.com/theCapypara/riptide-docker-images) + +- **Where to file issues**: + [https://github.com/theCapypara/riptide-docker-images/issues](https://github.com/theCapypara/riptide-docker-images/issues) + +- **Maintained by**: + [the Riptide Community](https://github.com/theCapypara/riptide-docker-images) + +- **Source of this description**: + [README in riptide-docker-images repo](https://github.com/theCapypara/riptide-docker-images/tree/master/php) ([history](https://github.com/theCapypara/riptide-docker-images/tree/master/php)) + +# What is php? + +php images based on the [official PHP images](https://hub.docker.com/_/php). + +These images work like their official counterpart, but: + +- They include the following PHP extensions (additional may be installed by default, depending on PHP version): + - xdebug 3 (not loaded by default & and controlled via XDEBUG_CONFIG, see below) + - pdo_mysql + - mysqli + - gd + - mbstring + - soap + - xsl + - intl + - ctype + - iconv + - json + - session + - simplexml + - tokenizer + - bcmath + - bz2 + - sockets + - yaml +- They include the following tools for developing with common PHP applications and Frameworks + - [Composer](https://getcomposer.org/) + - Composer 1 as `composer` + - Composer 2 as `composer2` + - NOTE: The `cli-composer2` images instead only contain Composer 2, linked as both `composer` and `composer2`. + - [wp-cli](https://wp-cli.org/) + - [n98-magerun](https://github.com/netz98/n98-magerun) + - [n98-magerun2](https://github.com/netz98/n98-magerun2) + - [Symfony CLI](https://symfony.com/) +- msmtp is installed by default to be used with a mailcatcher. It is configured in the php.ini but no msmtprc + file is present. If you want to use msmtp, create an "/etc/msmtprc". +- Includes an SSH client +- Includes Git + +Xdebug is not loaded by default for performance reasons. If you want +to enable Xdebug, add the following lines to the file ``/usr/local/etc/php/conf.d/xdebug.ini`` via a new image or mount: +```ini +zend_extension=xdebug.so +xdebug.remote_enable=on +xdebug.remote_autostart=off +``` + + +This image is meant for developers using PHP. If you are missing any extensions +or tools, be sure to open a [pull request](https://github.com/theCapypara/riptide-docker-images/pulls). + +# How to use this image. + +See the description of the [official PHP images](https://hub.docker.com/_/php). +The directory used for app sources is `/src`, not `/usr/src`! + +This image is meant to be used with [Riptide](https://github.com/theCapypara/riptide-cli). +Using it without Riptide is probably possible, but not supported. + +## Basic Usage with Riptide + +A simple PHP app that uses the apache variant to run an Apache web-server: + +```yaml +app: + name: php-demo + services: + php_demo: + image: riptidepy/php:7.3-apache + environment: + APACHE_RUN_USER: '#{{ os_user() }}' + APACHE_RUN_GROUP: '#{{ os_group() }}' + port: 80 + run_as_current_user: false + roles: + - main + - src +``` + +For all image variants, expect for `apache`: + +- This image supports ``run_as_current_user: true`` for services (this is the default). + +For the `apache` image variant: + +- This image only supports ``run_as_current_user: false`` for services. + To run the image with the user controlling riptide, instead of the image user, provide the APACHE_RUN_USER and APACHE_RUN_GROUP environment variables, + as shown in the example above. + +## Basic Usage with Docker Run + +See the description of the [official PHP images](https://hub.docker.com/_/php). + +# Environment Variables + +| Name | Required | Example Value(s) | Description | +|-----------------|----------|-------------------------------------|---------------------------------------------------------------------| +| APACHE_RUN_USER | see desc.| #1000 / #{{ os_user() }} (Riptide) | (apache only) ID of the user that Apache should switch to | +| APACHE_RUN_GROUP| see desc.| #1000 / #{{ os_group() }} (Riptide) | (apache only) ID of the group that the main command should switch to| +| XDEBUG_CONFIG | no | client_host={{ host_address() }} | [Xdebug configuration](https://xdebug.org/docs/remote) | +| XDEBUG_CONFIG | no | serverName=riptide-{{ name }}' | [PhpStorm path mapping key](https://blog.jetbrains.com/phpstorm/2012/03/new-in-4-0-easier-debugging-of-remote-php-command-line-scripts/)| + +More environment variables may be provided by PHP, PHP-FPM, Apache or the PHP extensions. + +# Volumes + +- **/src**: Source code + +# Image Variants + +See the description of the [official PHP images](https://hub.docker.com/_/php). Only +variants for FPM, CLI and Apache are provided. Only variants based on Debian buster are provided. diff --git a/php/8.3/bookworm/cli-composer2/Dockerfile b/php/8.3/bookworm/cli-composer2/Dockerfile new file mode 100644 index 0000000..6fcf5f4 --- /dev/null +++ b/php/8.3/bookworm/cli-composer2/Dockerfile @@ -0,0 +1,95 @@ +# THIS IS AUTO-GENERATED by builder/build.sh. DO NOT EDIT. +FROM php:8.3-cli-bookworm + +LABEL php_xdebug_version="3" + +# Some parts are based on https://hub.docker.com/r/alexcheng/magento2/dockerfile + +# PHP extensions and msmtp +RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfreetype6 libjpeg62-turbo libjpeg62-turbo-dev libpng-dev libxpm-dev libfreetype6-dev libicu-dev libxslt1-dev unzip libbz2-dev libzip-dev openssh-client libonig-dev git ssh-askpass libssl-dev libyaml-dev" \ + && apt-get update \ + && apt-get install -y $requirements \ + && docker-php-ext-install pdo_mysql \ + && docker-php-ext-install mysqli \ + && docker-php-ext-install soap \ + && docker-php-ext-install xsl \ + && docker-php-ext-install zip \ + && docker-php-ext-install intl \ + && docker-php-ext-install bcmath \ + && docker-php-ext-install bz2 \ + && docker-php-ext-install sockets \ + && docker-php-ext-configure gd --with-freetype --with-jpeg \ + && docker-php-ext-install gd \ + && docker-php-ext-install exif \ + && docker-php-ext-install opcache \ + && requirementsToRemove="libmcrypt-dev libwebp-dev libcurl3-dev libpng-dev libfreetype6-dev libjpeg62-turbo-dev libxpm-dev libbz2-dev libzip-dev libonig-dev" \ + && apt-get purge -y $requirementsToRemove \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +# Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) +RUN yes | pecl install xdebug + +# Install yaml +RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini + +# Riptide no longer enabled xdebug in it's image, for performance reasons. +# Please mount +# For Riptide < 0.6: The PHP commands/services in the Riptide Community Repository mount these settings already +# For Riptide >= 0.6: Use the plugin riptide-plugin-php-xdebug to toggle Xdebug. +# +# Previously these were the settings for Xdebug: +#&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini + +# Composer 2 +RUN curl -sS https://getcomposer.org/installer | php \ + && cp composer.phar /usr/local/bin/composer \ + && mv composer.phar /usr/local/bin/composer2 + +# wp-cli +RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ + && chmod +x ./wp-cli.phar \ + && mv ./wp-cli.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp-cli \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp + +# Magerun +RUN curl -O https://files.magerun.net/n98-magerun.phar \ + && chmod +x ./n98-magerun.phar \ + && mv ./n98-magerun.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/magerun \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/mr + +# Magerun2 +RUN curl -O https://files.magerun.net/n98-magerun2.phar \ + && chmod +x ./n98-magerun2.phar \ + && mv ./n98-magerun2.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/mr2 \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/magerun2 + +## Symfony +RUN curl -O https://get.symfony.com/cli/installer \ + && chmod +x ./installer \ + && ./installer --install-dir /usr/local/bin \ + && rm ./installer + +# Additional settings +# || true for non-apache variants +RUN a2enmod rewrite || true \ + && echo "memory_limit=-1" > /usr/local/etc/php/conf.d/memory-limit.ini \ + && echo "sendmail_path = /usr/bin/msmtp -t" > /usr/local/etc/php/conf.d/sendmail.ini + +# PHP-FPM: +# Since we use a template build, this get's executed in all images... could possibly +# change that in the future +RUN mkdir -p /usr/local/etc/php-fpm.d/ \ + # Allow the FPM process to access the environment variables passed in + && echo "clear_env = no" >> /usr/local/etc/php-fpm.d/www.conf \ + # logging + && echo "php_admin_flag[log_errors] = on" >> /usr/local/etc/php-fpm.d/www.conf + +# Make /src the root source directory +RUN rm -rf /usr/src && ln -s /src /usr/src +WORKDIR /src diff --git a/php/8.3/bookworm/cli-composer2/README.md b/php/8.3/bookworm/cli-composer2/README.md new file mode 100644 index 0000000..667b418 --- /dev/null +++ b/php/8.3/bookworm/cli-composer2/README.md @@ -0,0 +1,157 @@ +# Supported tags and respective `Dockerfile` links + +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) +- [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) +- [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) +- [`8.0-fpm` (*8.0/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/fpm/Dockerfile) +- [`7.4-cli`, `7-cli`, `7.4`, `7` (*7.4/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/cli-composer/Dockerfile) +- [`7.4-cli-composer2` (*7.4/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/cli-composer2/Dockerfile) +- [`7.4-apache`, `7-apache` (*7.4/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/apache/Dockerfile) +- [`7.4-fpm`, `7-fpm` (*7.4/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/fpm/Dockerfile) +- [`7.3-cli`, `7.3`, (*7.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/cli-composer/Dockerfile) +- [`7.3-cli-composer2` (*7.3/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/cli-composer2/Dockerfile) +- [`7.3-apache`, (*7.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/apache/Dockerfile) +- [`7.3-fpm`, (*7.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/fpm/Dockerfile) +- [`7.2-cli`, `7.2` (*7.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/cli-composer/Dockerfile) +- [`7.2-cli-composer2` (*7.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/cli-composer2/Dockerfile) +- [`7.2-apache` (*7.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/apache/Dockerfile) +- [`7.2-fpm` (*7.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/fpm/Dockerfile) + +# Quick reference + +- **Where to get help**: + [the Riptide Docker Images Github Repository](https://github.com/theCapypara/riptide-docker-images) + +- **Where to file issues**: + [https://github.com/theCapypara/riptide-docker-images/issues](https://github.com/theCapypara/riptide-docker-images/issues) + +- **Maintained by**: + [the Riptide Community](https://github.com/theCapypara/riptide-docker-images) + +- **Source of this description**: + [README in riptide-docker-images repo](https://github.com/theCapypara/riptide-docker-images/tree/master/php) ([history](https://github.com/theCapypara/riptide-docker-images/tree/master/php)) + +# What is php? + +php images based on the [official PHP images](https://hub.docker.com/_/php). + +These images work like their official counterpart, but: + +- They include the following PHP extensions (additional may be installed by default, depending on PHP version): + - xdebug 3 (not loaded by default & and controlled via XDEBUG_CONFIG, see below) + - pdo_mysql + - mysqli + - gd + - mbstring + - soap + - xsl + - intl + - ctype + - iconv + - json + - session + - simplexml + - tokenizer + - bcmath + - bz2 + - sockets + - yaml +- They include the following tools for developing with common PHP applications and Frameworks + - [Composer](https://getcomposer.org/) + - Composer 1 as `composer` + - Composer 2 as `composer2` + - NOTE: The `cli-composer2` images instead only contain Composer 2, linked as both `composer` and `composer2`. + - [wp-cli](https://wp-cli.org/) + - [n98-magerun](https://github.com/netz98/n98-magerun) + - [n98-magerun2](https://github.com/netz98/n98-magerun2) + - [Symfony CLI](https://symfony.com/) +- msmtp is installed by default to be used with a mailcatcher. It is configured in the php.ini but no msmtprc + file is present. If you want to use msmtp, create an "/etc/msmtprc". +- Includes an SSH client +- Includes Git + +Xdebug is not loaded by default for performance reasons. If you want +to enable Xdebug, add the following lines to the file ``/usr/local/etc/php/conf.d/xdebug.ini`` via a new image or mount: +```ini +zend_extension=xdebug.so +xdebug.remote_enable=on +xdebug.remote_autostart=off +``` + + +This image is meant for developers using PHP. If you are missing any extensions +or tools, be sure to open a [pull request](https://github.com/theCapypara/riptide-docker-images/pulls). + +# How to use this image. + +See the description of the [official PHP images](https://hub.docker.com/_/php). +The directory used for app sources is `/src`, not `/usr/src`! + +This image is meant to be used with [Riptide](https://github.com/theCapypara/riptide-cli). +Using it without Riptide is probably possible, but not supported. + +## Basic Usage with Riptide + +A simple PHP app that uses the apache variant to run an Apache web-server: + +```yaml +app: + name: php-demo + services: + php_demo: + image: riptidepy/php:7.3-apache + environment: + APACHE_RUN_USER: '#{{ os_user() }}' + APACHE_RUN_GROUP: '#{{ os_group() }}' + port: 80 + run_as_current_user: false + roles: + - main + - src +``` + +For all image variants, expect for `apache`: + +- This image supports ``run_as_current_user: true`` for services (this is the default). + +For the `apache` image variant: + +- This image only supports ``run_as_current_user: false`` for services. + To run the image with the user controlling riptide, instead of the image user, provide the APACHE_RUN_USER and APACHE_RUN_GROUP environment variables, + as shown in the example above. + +## Basic Usage with Docker Run + +See the description of the [official PHP images](https://hub.docker.com/_/php). + +# Environment Variables + +| Name | Required | Example Value(s) | Description | +|-----------------|----------|-------------------------------------|---------------------------------------------------------------------| +| APACHE_RUN_USER | see desc.| #1000 / #{{ os_user() }} (Riptide) | (apache only) ID of the user that Apache should switch to | +| APACHE_RUN_GROUP| see desc.| #1000 / #{{ os_group() }} (Riptide) | (apache only) ID of the group that the main command should switch to| +| XDEBUG_CONFIG | no | client_host={{ host_address() }} | [Xdebug configuration](https://xdebug.org/docs/remote) | +| XDEBUG_CONFIG | no | serverName=riptide-{{ name }}' | [PhpStorm path mapping key](https://blog.jetbrains.com/phpstorm/2012/03/new-in-4-0-easier-debugging-of-remote-php-command-line-scripts/)| + +More environment variables may be provided by PHP, PHP-FPM, Apache or the PHP extensions. + +# Volumes + +- **/src**: Source code + +# Image Variants + +See the description of the [official PHP images](https://hub.docker.com/_/php). Only +variants for FPM, CLI and Apache are provided. Only variants based on Debian buster are provided. diff --git a/php/8.3/bookworm/fpm/Dockerfile b/php/8.3/bookworm/fpm/Dockerfile new file mode 100644 index 0000000..d242cef --- /dev/null +++ b/php/8.3/bookworm/fpm/Dockerfile @@ -0,0 +1,98 @@ +# THIS IS AUTO-GENERATED by builder/build.sh. DO NOT EDIT. +FROM php:8.3-fpm-bookworm + +LABEL php_xdebug_version="3" + +# Some parts are based on https://hub.docker.com/r/alexcheng/magento2/dockerfile + +# PHP extensions and msmtp +RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfreetype6 libjpeg62-turbo libjpeg62-turbo-dev libpng-dev libxpm-dev libfreetype6-dev libicu-dev libxslt1-dev unzip libbz2-dev libzip-dev openssh-client libonig-dev git ssh-askpass libssl-dev libyaml-dev" \ + && apt-get update \ + && apt-get install -y $requirements \ + && docker-php-ext-install pdo_mysql \ + && docker-php-ext-install mysqli \ + && docker-php-ext-install soap \ + && docker-php-ext-install xsl \ + && docker-php-ext-install zip \ + && docker-php-ext-install intl \ + && docker-php-ext-install bcmath \ + && docker-php-ext-install bz2 \ + && docker-php-ext-install sockets \ + && docker-php-ext-configure gd --with-freetype --with-jpeg \ + && docker-php-ext-install gd \ + && docker-php-ext-install exif \ + && docker-php-ext-install opcache \ + && requirementsToRemove="libmcrypt-dev libwebp-dev libcurl3-dev libpng-dev libfreetype6-dev libjpeg62-turbo-dev libxpm-dev libbz2-dev libzip-dev libonig-dev" \ + && apt-get purge -y $requirementsToRemove \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* + +# Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) +RUN yes | pecl install xdebug + +# Install yaml +RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini + +# Riptide no longer enabled xdebug in it's image, for performance reasons. +# Please mount +# For Riptide < 0.6: The PHP commands/services in the Riptide Community Repository mount these settings already +# For Riptide >= 0.6: Use the plugin riptide-plugin-php-xdebug to toggle Xdebug. +# +# Previously these were the settings for Xdebug: +#&& echo "zend_extension=$(find /usr/local/lib/php/extensions/ -name xdebug.so)" > /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_enable=on" >> /usr/local/etc/php/conf.d/xdebug.ini \ +#&& echo "xdebug.remote_autostart=off" >> /usr/local/etc/php/conf.d/xdebug.ini + +# Composer 1 +RUN curl -sS https://getcomposer.org/installer | php -- --1 \ + && mv composer.phar /usr/local/bin/composer + +# Composer 2 +RUN curl -sS https://getcomposer.org/installer | php \ + && mv composer.phar /usr/local/bin/composer2 + +# wp-cli +RUN curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar \ + && chmod +x ./wp-cli.phar \ + && mv ./wp-cli.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp-cli \ + && ln -s /usr/local/bin/wp-cli.phar /usr/local/bin/wp + +# Magerun +RUN curl -O https://files.magerun.net/n98-magerun.phar \ + && chmod +x ./n98-magerun.phar \ + && mv ./n98-magerun.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/magerun \ + && ln -s /usr/local/bin/n98-magerun.phar /usr/local/bin/mr + +# Magerun2 +RUN curl -O https://files.magerun.net/n98-magerun2.phar \ + && chmod +x ./n98-magerun2.phar \ + && mv ./n98-magerun2.phar /usr/local/bin/ \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/mr2 \ + && ln -s /usr/local/bin/n98-magerun2.phar /usr/local/bin/magerun2 + +## Symfony +RUN curl -O https://get.symfony.com/cli/installer \ + && chmod +x ./installer \ + && ./installer --install-dir /usr/local/bin \ + && rm ./installer + +# Additional settings +# || true for non-apache variants +RUN a2enmod rewrite || true \ + && echo "memory_limit=-1" > /usr/local/etc/php/conf.d/memory-limit.ini \ + && echo "sendmail_path = /usr/bin/msmtp -t" > /usr/local/etc/php/conf.d/sendmail.ini + +# PHP-FPM: +# Since we use a template build, this get's executed in all images... could possibly +# change that in the future +RUN mkdir -p /usr/local/etc/php-fpm.d/ \ + # Allow the FPM process to access the environment variables passed in + && echo "clear_env = no" >> /usr/local/etc/php-fpm.d/www.conf \ + # logging + && echo "php_admin_flag[log_errors] = on" >> /usr/local/etc/php-fpm.d/www.conf + +# Make /src the root source directory +RUN rm -rf /usr/src && ln -s /src /usr/src +WORKDIR /src diff --git a/php/8.3/bookworm/fpm/README.md b/php/8.3/bookworm/fpm/README.md new file mode 100644 index 0000000..667b418 --- /dev/null +++ b/php/8.3/bookworm/fpm/README.md @@ -0,0 +1,157 @@ +# Supported tags and respective `Dockerfile` links + +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) +- [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) +- [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) +- [`8.0-fpm` (*8.0/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/fpm/Dockerfile) +- [`7.4-cli`, `7-cli`, `7.4`, `7` (*7.4/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/cli-composer/Dockerfile) +- [`7.4-cli-composer2` (*7.4/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/cli-composer2/Dockerfile) +- [`7.4-apache`, `7-apache` (*7.4/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/apache/Dockerfile) +- [`7.4-fpm`, `7-fpm` (*7.4/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.4/buster/fpm/Dockerfile) +- [`7.3-cli`, `7.3`, (*7.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/cli-composer/Dockerfile) +- [`7.3-cli-composer2` (*7.3/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/cli-composer2/Dockerfile) +- [`7.3-apache`, (*7.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/apache/Dockerfile) +- [`7.3-fpm`, (*7.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.3/buster/fpm/Dockerfile) +- [`7.2-cli`, `7.2` (*7.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/cli-composer/Dockerfile) +- [`7.2-cli-composer2` (*7.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/cli-composer2/Dockerfile) +- [`7.2-apache` (*7.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/apache/Dockerfile) +- [`7.2-fpm` (*7.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/7.2/buster/fpm/Dockerfile) + +# Quick reference + +- **Where to get help**: + [the Riptide Docker Images Github Repository](https://github.com/theCapypara/riptide-docker-images) + +- **Where to file issues**: + [https://github.com/theCapypara/riptide-docker-images/issues](https://github.com/theCapypara/riptide-docker-images/issues) + +- **Maintained by**: + [the Riptide Community](https://github.com/theCapypara/riptide-docker-images) + +- **Source of this description**: + [README in riptide-docker-images repo](https://github.com/theCapypara/riptide-docker-images/tree/master/php) ([history](https://github.com/theCapypara/riptide-docker-images/tree/master/php)) + +# What is php? + +php images based on the [official PHP images](https://hub.docker.com/_/php). + +These images work like their official counterpart, but: + +- They include the following PHP extensions (additional may be installed by default, depending on PHP version): + - xdebug 3 (not loaded by default & and controlled via XDEBUG_CONFIG, see below) + - pdo_mysql + - mysqli + - gd + - mbstring + - soap + - xsl + - intl + - ctype + - iconv + - json + - session + - simplexml + - tokenizer + - bcmath + - bz2 + - sockets + - yaml +- They include the following tools for developing with common PHP applications and Frameworks + - [Composer](https://getcomposer.org/) + - Composer 1 as `composer` + - Composer 2 as `composer2` + - NOTE: The `cli-composer2` images instead only contain Composer 2, linked as both `composer` and `composer2`. + - [wp-cli](https://wp-cli.org/) + - [n98-magerun](https://github.com/netz98/n98-magerun) + - [n98-magerun2](https://github.com/netz98/n98-magerun2) + - [Symfony CLI](https://symfony.com/) +- msmtp is installed by default to be used with a mailcatcher. It is configured in the php.ini but no msmtprc + file is present. If you want to use msmtp, create an "/etc/msmtprc". +- Includes an SSH client +- Includes Git + +Xdebug is not loaded by default for performance reasons. If you want +to enable Xdebug, add the following lines to the file ``/usr/local/etc/php/conf.d/xdebug.ini`` via a new image or mount: +```ini +zend_extension=xdebug.so +xdebug.remote_enable=on +xdebug.remote_autostart=off +``` + + +This image is meant for developers using PHP. If you are missing any extensions +or tools, be sure to open a [pull request](https://github.com/theCapypara/riptide-docker-images/pulls). + +# How to use this image. + +See the description of the [official PHP images](https://hub.docker.com/_/php). +The directory used for app sources is `/src`, not `/usr/src`! + +This image is meant to be used with [Riptide](https://github.com/theCapypara/riptide-cli). +Using it without Riptide is probably possible, but not supported. + +## Basic Usage with Riptide + +A simple PHP app that uses the apache variant to run an Apache web-server: + +```yaml +app: + name: php-demo + services: + php_demo: + image: riptidepy/php:7.3-apache + environment: + APACHE_RUN_USER: '#{{ os_user() }}' + APACHE_RUN_GROUP: '#{{ os_group() }}' + port: 80 + run_as_current_user: false + roles: + - main + - src +``` + +For all image variants, expect for `apache`: + +- This image supports ``run_as_current_user: true`` for services (this is the default). + +For the `apache` image variant: + +- This image only supports ``run_as_current_user: false`` for services. + To run the image with the user controlling riptide, instead of the image user, provide the APACHE_RUN_USER and APACHE_RUN_GROUP environment variables, + as shown in the example above. + +## Basic Usage with Docker Run + +See the description of the [official PHP images](https://hub.docker.com/_/php). + +# Environment Variables + +| Name | Required | Example Value(s) | Description | +|-----------------|----------|-------------------------------------|---------------------------------------------------------------------| +| APACHE_RUN_USER | see desc.| #1000 / #{{ os_user() }} (Riptide) | (apache only) ID of the user that Apache should switch to | +| APACHE_RUN_GROUP| see desc.| #1000 / #{{ os_group() }} (Riptide) | (apache only) ID of the group that the main command should switch to| +| XDEBUG_CONFIG | no | client_host={{ host_address() }} | [Xdebug configuration](https://xdebug.org/docs/remote) | +| XDEBUG_CONFIG | no | serverName=riptide-{{ name }}' | [PhpStorm path mapping key](https://blog.jetbrains.com/phpstorm/2012/03/new-in-4-0-easier-debugging-of-remote-php-command-line-scripts/)| + +More environment variables may be provided by PHP, PHP-FPM, Apache or the PHP extensions. + +# Volumes + +- **/src**: Source code + +# Image Variants + +See the description of the [official PHP images](https://hub.docker.com/_/php). Only +variants for FPM, CLI and Apache are provided. Only variants based on Debian buster are provided. diff --git a/php/README.md b/php/README.md index 1a3d396..667b418 100644 --- a/php/README.md +++ b/php/README.md @@ -1,9 +1,17 @@ # Supported tags and respective `Dockerfile` links -- [`8.1-cli`, `8-cli`, `cli`, `8.1`, `8`, `latest` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) -- [`8.1-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) -- [`8.1-apache`, `8-apache`, `apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) -- [`8.1-fpm`, `8-fpm`, `fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) +- [`8.3-cli`, `8-cli`, `cli`, `8.3`, `8`, `latest` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer/Dockerfile) +- [`8.3-cli-composer2`, `8-cli-composer2`, `cli-composer` (*8.3/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/cli-composer2/Dockerfile) +- [`8.3-apache`, `8-apache`, `apache` (*8.3/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/apache/Dockerfile) +- [`8.3-fpm`, `8-fpm`, `fpm` (*8.3/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.3/buster/fpm/Dockerfile) +- [`8.2-cli`, `8.2` (*8.2/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer/Dockerfile) +- [`8.2-cli-composer2` (*8.2/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/cli-composer2/Dockerfile) +- [`8.2-apache` (*8.2/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/apache/Dockerfile) +- [`8.2-fpm` (*8.2/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.2/buster/fpm/Dockerfile) +- [`8.1-cli`, `8.1` (*8.1/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer/Dockerfile) +- [`8.1-cli-composer2` (*8.1/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/cli-composer2/Dockerfile) +- [`8.1-apache` (*8.1/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/apache/Dockerfile) +- [`8.1-fpm` (*8.1/buster/fpm/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.1/buster/fpm/Dockerfile) - [`8.0-cli`, `8.0` (*8.0/buster/cli-composer/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer/Dockerfile) - [`8.0-cli-composer2` (*8.0/buster/cli-composer2/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/cli-composer2/Dockerfile) - [`8.0-apache` (*8.0/buster/apache/Dockerfile*)](https://github.com/theCapypara/riptide-docker-images/tree/master/php/8.0/buster/apache/Dockerfile) diff --git a/php/builder/Dockerfile b/php/builder/Dockerfile index 41aedc4..b50f1be 100644 --- a/php/builder/Dockerfile +++ b/php/builder/Dockerfile @@ -31,9 +31,6 @@ RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfre # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/php/builder/Dockerfile-composer2 b/php/builder/Dockerfile-composer2 index 8e0a015..137dab2 100644 --- a/php/builder/Dockerfile-composer2 +++ b/php/builder/Dockerfile-composer2 @@ -31,9 +31,6 @@ RUN requirements="msmtp libmcrypt-dev libwebp-dev libmcrypt4 libcurl3-dev libfre # Install xdebug (based on https://gist.github.com/chadrien/c90927ec2d160ffea9c4) RUN yes | pecl install xdebug -# Install MongoDB -RUN yes | pecl install mongodb && echo "extension=mongodb.so" > /usr/local/etc/php/conf.d/mongo.ini - # Install yaml RUN yes | pecl install yaml && echo "extension=yaml.so" > /usr/local/etc/php/conf.d/ext-yaml.ini diff --git a/php/builder/build.sh b/php/builder/build.sh index 3bae5c1..21aaea5 100755 --- a/php/builder/build.sh +++ b/php/builder/build.sh @@ -46,5 +46,6 @@ for goal in */*/*; do fi cp "README.md" "$version/$base/$variant/" + echo "$version/$base/$variant/" done