e6d201e0b0
this is a new feature meant to allow people to use any file as a dockerfile and any folder as a context directory
9 lines
221 B
Python
9 lines
221 B
Python
|
|
def _get_config_expand(config):
|
|
""" Get config with both context and dockerfile_path written to it """
|
|
if not config:
|
|
return {}
|
|
if 'context' in config:
|
|
config['subdir'] = config['context']
|
|
|
|
return config
|