[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:
Konstantin Vasin 2023-03-28 00:58:44 +03:00 committed by GitHub
parent 74695747ab
commit 7230b59559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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