mirror of
https://github.com/opdavies/build-configs.git
synced 2025-01-23 02:27:33 +00:00
feat(dockerfile): allow for specifying custom PHP
...extensions
This commit is contained in:
parent
701f382ccd
commit
76140850f3
|
@ -39,7 +39,11 @@ final class CreateFinalConfigurationData
|
|||
|
||||
$configurationData['dockerfile']['stages']['build']['packages'] = $basePackages;
|
||||
|
||||
$configurationData['dockerfile']['stages']['build']['extensions']['install'] = $phpExtensions;
|
||||
$configurationData['dockerfile']['stages']['build']['extensions']['install'] = collect($phpExtensions)
|
||||
->merge($configurationData['dockerfile']['stages']['build']['extensions']['install'])
|
||||
->unique()
|
||||
->sort()
|
||||
->toArray();
|
||||
|
||||
return $next($configurationData);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue