This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/data/model/helpers/build_helper.py
Charlton Austin e6d201e0b0 feat(build runner): added in context, dockerfile_location
this is a new feature meant to allow people to use any file as
  a dockerfile and any folder as a context directory
2017-03-28 13:55:31 -04:00

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