mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Merge pull request #1397 from shivammathur/downloads-docker
Add docker to the downloads page.
This commit is contained in:
@@ -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',
|
||||
],
|
||||
|
||||
10
include/download-instructions/linux-docker-cli-community.php
Normal file
10
include/download-instructions/linux-docker-cli-community.php
Normal 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>
|
||||
10
include/download-instructions/linux-docker-cli-default.php
Normal file
10
include/download-instructions/linux-docker-cli-default.php
Normal 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>
|
||||
10
include/download-instructions/linux-docker-web-community.php
Normal file
10
include/download-instructions/linux-docker-web-community.php
Normal 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>
|
||||
10
include/download-instructions/linux-docker-web-default.php
Normal file
10
include/download-instructions/linux-docker-web-default.php
Normal 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>
|
||||
1
include/download-instructions/osx-docker.php
Symbolic link
1
include/download-instructions/osx-docker.php
Symbolic link
@@ -0,0 +1 @@
|
||||
linux-docker-cli-community.php
|
||||
1
include/download-instructions/windows-docker.php
Symbolic link
1
include/download-instructions/windows-docker.php
Symbolic link
@@ -0,0 +1 @@
|
||||
linux-docker-cli-community.php
|
||||
Reference in New Issue
Block a user