1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Add docker to the downloads page.

This commit is contained in:
Shivam Mathur
2025-09-08 19:31:34 +05:30
parent 34cb9a75b3
commit 53f54f7a23
7 changed files with 45 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ $os = [
'linux-fedora' => 'Fedora',
'linux-redhat' => 'RedHat',
'linux-ubuntu' => 'Ubuntu',
'linux-docker' => 'Docker',
],
],
'osx' => [
@@ -75,6 +76,7 @@ $os = [
'variants' => [
'osx-homebrew' => 'Homebrew/Brew',
'osx-homebrew-php' => 'Homebrew/Homebrew-PHP',
'osx-docker' => 'Docker',
'osx-macports' => 'MacPorts',
],
],
@@ -85,6 +87,7 @@ $os = [
'windows-native' => 'Windows Native Build',
'windows-chocolatey' => 'Windows with Chocolatey',
'windows-scoop' => 'Windows with Scoop',
'windows-docker' => 'Windows with Docker',
'windows-wsl-debian' => 'Windows with WSL/Debian',
'windows-wsl-ubuntu' => 'Windows with WSL/Ubuntu',
],

View File

@@ -0,0 +1,10 @@
<p>
On the command line, run the following commands:
</p>
<pre><code class="language-bash line-numbers">
# Pull the PHP Docker image.
docker pull php:<?= $version; ?>-cli
# Launch a container with PHP.
docker run --rm -it --entrypoint bash php:<?= $version; ?>-cli
</code></pre>

View File

@@ -0,0 +1,10 @@
<p>
On the command line, run the following commands:
</p>
<pre><code class="language-bash line-numbers">
# Pull the PHP Docker image.
docker pull php-cli
# Launch a container with PHP.
docker run --rm -it --entrypoint bash php-cli
</code></pre>

View File

@@ -0,0 +1,10 @@
<p>
On the command line, run the following commands:
</p>
<pre><code class="language-bash line-numbers">
# Pull the PHP Docker image.
docker pull php:<?= $version; ?>-fpm
# Launch a container with PHP.
docker run --rm -it --entrypoint bash php:<?= $version; ?>-fpm
</code></pre>

View File

@@ -0,0 +1,10 @@
<p>
On the command line, run the following commands:
</p>
<pre><code class="language-bash line-numbers">
# Pull the PHP Docker image.
docker pull php-fpm
# Launch a container with PHP.
docker run --rm -it --entrypoint bash php-fpm
</code></pre>

View File

@@ -0,0 +1 @@
linux-docker-cli-community.php

View File

@@ -0,0 +1 @@
linux-docker-cli-community.php