mirror of
https://github.com/devilbox/docker-php-fpm.git
synced 2025-12-11 11:31:16 +00:00
Streamline php_modules and php_tools definitions
This commit is contained in:
@@ -64,8 +64,8 @@ def get_tool_options(tool_dirname: str) -> Dict[str, Any]:
|
||||
return load_yaml(os.path.join(PHP_TOOL_PATH, tool_dirname, "options.yml"))
|
||||
|
||||
|
||||
def get_tool_build(tool_dirname: str) -> Dict[str, Any]:
|
||||
"""Returns yaml dict build configuration of a PHP tool given by its absolute file path."""
|
||||
def get_tool_install(tool_dirname: str) -> Dict[str, Any]:
|
||||
"""Returns yaml dict install configuration of a PHP tool given by its absolute file path."""
|
||||
return load_yaml(os.path.join(PHP_TOOL_PATH, tool_dirname, "install.yml"))
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user