mirror of https://github.com/docker/compose.git
feat: add a warning if someone uses the --compress or --parallel flag
Signed-off-by: Nao YONASHIRO <yonashiro@r.recruit.co.jp>
This commit is contained in:
parent
81e223d499
commit
15e8edca3c
|
@ -367,6 +367,10 @@ class Project(object):
|
|||
|
||||
if cli:
|
||||
log.warning("Native build is an experimental feature and could change at any time")
|
||||
if parallel_build:
|
||||
log.warning("unavailable --parallel on COMPOSE_NATIVE_BUILDER=1")
|
||||
if gzip:
|
||||
log.warning("unavailable --compress on COMPOSE_NATIVE_BUILDER=1")
|
||||
|
||||
def build_service(service):
|
||||
service.build(no_cache, pull, force_rm, memory, build_args, gzip, rm, silent, cli, progress)
|
||||
|
|
Loading…
Reference in New Issue