From 64934518fda71cc6c3a6615e6124f3169ee9bdb7 Mon Sep 17 00:00:00 2001 From: Claudiu Belu Date: Thu, 17 Dec 2020 12:59:38 -0800 Subject: [PATCH] test images: Allows sample-apiserver to be built without a TTY Currently, the image's postsubmit job fails because of the docker run -t in the image's Makefile. We don't need it in order to build the image. Logs: https://prow.k8s.io/view/gcs/kubernetes-jenkins/logs/post-kubernetes-push-e2e-sample-apiserver-test-images/1331076845436669952 --- test/images/sample-apiserver/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/images/sample-apiserver/Makefile b/test/images/sample-apiserver/Makefile index e44c04a0f4d..f3bca3307f5 100644 --- a/test/images/sample-apiserver/Makefile +++ b/test/images/sample-apiserver/Makefile @@ -24,7 +24,7 @@ export # Get without building to populate module cache # Then, get with OS/ARCH-specific env to build bin: - docker run --rm -it -v "${TARGET}:${TARGET}:Z" k8s.gcr.io/build-image/kube-cross:v1.15.5-1 \ + docker run --rm -i -v "${TARGET}:${TARGET}:Z" k8s.gcr.io/build-image/kube-cross:v1.15.5-1 \ /bin/bash -c "\ mkdir -p /go/src /go/bin && \ GO111MODULE=on go get -d k8s.io/sample-apiserver@v0.17.0 && \