compose/compose
Andrey Devyatkin e3e8a619cc Fix #3281: Unexpected result when using build args with default values
Fix the issue when build arg is set to None instead of empty string.
Usecase:

cat docker-compose.yml
....
args:
- http_proxy
- https_proxy
- no_proxy

If http_proxy, https_proxy, no_proxy environment variables are not defined
then http_proxy, https_proxy, no_proxy build args will be set to string None which breaks all downloads

With this change build args will not passed to docker engine if they are equal to string None

Signed-off-by: Andrey Devyatkin <andrey.a.devyatkin@gmail.com>
2016-05-27 07:48:13 +02:00
..
cli Merge pull request #3482 from aanand/fix-prompt-buffering 2016-05-19 08:52:34 -07:00
config Improve merging for several service config attributes 2016-05-20 15:29:04 -07:00
__init__.py Update release notes and set version to 1.8.0dev 2016-04-13 13:27:18 -04:00
__main__.py Use json to encode invalid values in configuration errors so that the user sees a proper repr of the value. 2016-01-07 13:09:24 -05:00
const.py Add support for DOCKER_* variables in .env file 2016-03-24 10:57:28 -07:00
container.py Prevent unnecessary inspection of containers when created from an inspect. 2016-04-06 11:14:42 -04:00
network.py Make down idempotent, continue to remove resources if one is missing. 2016-03-15 13:26:29 -04:00
parallel.py Properly handle APIError failures in Project.up 2016-05-02 13:42:05 -07:00
progress_stream.py Update pre-commit config to enforace that future imports exist in all files. 2016-01-07 13:09:03 -05:00
project.py add msg attribute to ProjectError class 2016-05-09 18:26:20 +07:00
service.py Fix #3281: Unexpected result when using build args with default values 2016-05-27 07:48:13 +02:00
state.py Implement smart recreate behind an experimental CLI flag 2015-05-18 18:39:18 +01:00
utils.py Apply driver_opts processing to network configs 2016-02-18 10:53:40 -08:00
volume.py Make down idempotent, continue to remove resources if one is missing. 2016-03-15 13:26:29 -04:00