Skip to content

Commit 6f35bb5

Browse files
committed
feature #821 feat: enable Docker support by default (dunglas)
This PR was merged into the 1.17-dev branch. Discussion ---------- feat: enable Docker support by default Docker and Docker Compose configurators now have been extensively tested, and there are many recipes with Docker support available. I think that it's time to enable this feature by default. Note: the configurations are executed only if the `Dockerfile` and the `docker-compose.*` files are present in the project. Commits ------- bc62b2f feat: enable Docker support by default
2 parents 862e30b + bc62b2f commit 6f35bb5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Configurator/DockerComposeConfigurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public function __construct(Composer $composer, IOInterface $io, Options $option
3636

3737
public function configure(Recipe $recipe, $config, Lock $lock, array $options = [])
3838
{
39-
$installDocker = $this->composer->getPackage()->getExtra()['symfony']['docker'] ?? false;
39+
$installDocker = $this->composer->getPackage()->getExtra()['symfony']['docker'] ?? true;
4040
if (!$installDocker) {
4141
return;
4242
}

src/Configurator/DockerfileConfigurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class DockerfileConfigurator extends AbstractConfigurator
2323
{
2424
public function configure(Recipe $recipe, $config, Lock $lock, array $options = [])
2525
{
26-
$installDocker = $this->composer->getPackage()->getExtra()['symfony']['docker'] ?? false;
26+
$installDocker = $this->composer->getPackage()->getExtra()['symfony']['docker'] ?? true;
2727
if (!$installDocker) {
2828
return;
2929
}

0 commit comments

Comments
 (0)