Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions downloads.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,15 @@ function option(string $value, string $desc, $attributes = []): string
'linux-fedora' => 'Fedora',
'linux-redhat' => 'RedHat',
'linux-ubuntu' => 'Ubuntu',
'linux-docker' => 'Docker',
],
],
'osx' => [
'name' => 'macOS',
'variants' => [
'osx-homebrew' => 'Homebrew/Brew',
'osx-homebrew-php' => 'Homebrew/Homebrew-PHP',
'osx-docker' => 'Docker',
'osx-macports' => 'MacPorts',
],
],
Expand All @@ -85,6 +87,7 @@ function option(string $value, string $desc, $attributes = []): string
'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',
],
Expand Down
10 changes: 10 additions & 0 deletions include/download-instructions/linux-docker-cli-community.php
Original file line number Diff line number Diff line change
@@ -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>
10 changes: 10 additions & 0 deletions include/download-instructions/linux-docker-cli-default.php
Original file line number Diff line number Diff line change
@@ -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>
10 changes: 10 additions & 0 deletions include/download-instructions/linux-docker-web-community.php
Original file line number Diff line number Diff line change
@@ -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>
10 changes: 10 additions & 0 deletions include/download-instructions/linux-docker-web-default.php
Original file line number Diff line number Diff line change
@@ -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>
1 change: 1 addition & 0 deletions include/download-instructions/osx-docker.php
1 change: 1 addition & 0 deletions include/download-instructions/windows-docker.php