[Build] fix sonic-slave empty build log (#14408)
New docker versions use stderr instead of stdout to print info when build image. As a resullt we got empty log files. the fix is to redirect stderr to stdout when build sonic-slave images.
This commit is contained in:
parent
74695747ab
commit
7230b59559
@ -415,7 +415,7 @@ endif
|
||||
|
||||
endif
|
||||
|
||||
SPLIT_LOG = | tee
|
||||
SPLIT_LOG = 2>&1 | tee
|
||||
|
||||
DOCKER_BASE_LOG = $(SLAVE_DIR)/$(SLAVE_BASE_IMAGE)_$(SLAVE_BASE_TAG).log
|
||||
DOCKER_LOG = $(SLAVE_DIR)/$(SLAVE_IMAGE)_$(SLAVE_TAG).log
|
||||
|
Reference in New Issue
Block a user