From 30058c9d356c5c10c6273b58a41057d9ab252815 Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Tue, 7 Jan 2020 15:34:47 -0800 Subject: [PATCH] Image Promoter: Remove -it from docker command It seems that the Image Promoter is running containers without the -t flag, which causes the error: the input device is not a TTY Removing the -it from the docker command in kubernetes/test/images/image-util.sh solves this. --- test/images/image-util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/images/image-util.sh b/test/images/image-util.sh index 732084ed9c2..e08f47b8a57 100755 --- a/test/images/image-util.sh +++ b/test/images/image-util.sh @@ -150,7 +150,7 @@ bin() { fi for SRC in "$@"; do - docker run --rm -it -v "${TARGET}:${TARGET}:Z" -v "${KUBE_ROOT}":/go/src/k8s.io/kubernetes:Z \ + docker run --rm -v "${TARGET}:${TARGET}:Z" -v "${KUBE_ROOT}":/go/src/k8s.io/kubernetes:Z \ golang:"${GOLANG_VERSION}" \ /bin/bash -c "\ cd /go/src/k8s.io/kubernetes/test/images/${SRC_DIR} && \