Skip to content

Commit 8a7eb37

Browse files
authored
Merge pull request #1397 from shivammathur/downloads-docker
Add docker to the downloads page.
2 parents 34cb9a7 + 53f54f7 commit 8a7eb37

File tree

7 files changed

+45
-0
lines changed

7 files changed

+45
-0
lines changed

downloads.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,15 @@ function option(string $value, string $desc, $attributes = []): string
6868
'linux-fedora' => 'Fedora',
6969
'linux-redhat' => 'RedHat',
7070
'linux-ubuntu' => 'Ubuntu',
71+
'linux-docker' => 'Docker',
7172
],
7273
],
7374
'osx' => [
7475
'name' => 'macOS',
7576
'variants' => [
7677
'osx-homebrew' => 'Homebrew/Brew',
7778
'osx-homebrew-php' => 'Homebrew/Homebrew-PHP',
79+
'osx-docker' => 'Docker',
7880
'osx-macports' => 'MacPorts',
7981
],
8082
],
@@ -85,6 +87,7 @@ function option(string $value, string $desc, $attributes = []): string
8587
'windows-native' => 'Windows Native Build',
8688
'windows-chocolatey' => 'Windows with Chocolatey',
8789
'windows-scoop' => 'Windows with Scoop',
90+
'windows-docker' => 'Windows with Docker',
8891
'windows-wsl-debian' => 'Windows with WSL/Debian',
8992
'windows-wsl-ubuntu' => 'Windows with WSL/Ubuntu',
9093
],
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<p>
2+
On the command line, run the following commands:
3+
</p>
4+
<pre><code class="language-bash line-numbers">
5+
# Pull the PHP Docker image.
6+
docker pull php:<?= $version; ?>-cli
7+
8+
# Launch a container with PHP.
9+
docker run --rm -it --entrypoint bash php:<?= $version; ?>-cli
10+
</code></pre>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<p>
2+
On the command line, run the following commands:
3+
</p>
4+
<pre><code class="language-bash line-numbers">
5+
# Pull the PHP Docker image.
6+
docker pull php-cli
7+
8+
# Launch a container with PHP.
9+
docker run --rm -it --entrypoint bash php-cli
10+
</code></pre>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<p>
2+
On the command line, run the following commands:
3+
</p>
4+
<pre><code class="language-bash line-numbers">
5+
# Pull the PHP Docker image.
6+
docker pull php:<?= $version; ?>-fpm
7+
8+
# Launch a container with PHP.
9+
docker run --rm -it --entrypoint bash php:<?= $version; ?>-fpm
10+
</code></pre>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<p>
2+
On the command line, run the following commands:
3+
</p>
4+
<pre><code class="language-bash line-numbers">
5+
# Pull the PHP Docker image.
6+
docker pull php-fpm
7+
8+
# Launch a container with PHP.
9+
docker run --rm -it --entrypoint bash php-fpm
10+
</code></pre>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
linux-docker-cli-community.php
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
linux-docker-cli-community.php

0 commit comments

Comments
 (0)