Skip to content

Commit 30058c9

Browse files
committed
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.
1 parent e41bb32 commit 30058c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/images/image-util.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ bin() {
150150
fi
151151
for SRC in "$@";
152152
do
153-
docker run --rm -it -v "${TARGET}:${TARGET}:Z" -v "${KUBE_ROOT}":/go/src/k8s.io/kubernetes:Z \
153+
docker run --rm -v "${TARGET}:${TARGET}:Z" -v "${KUBE_ROOT}":/go/src/k8s.io/kubernetes:Z \
154154
golang:"${GOLANG_VERSION}" \
155155
/bin/bash -c "\
156156
cd /go/src/k8s.io/kubernetes/test/images/${SRC_DIR} && \

0 commit comments

Comments
 (0)