mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
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.
This commit is contained in:
parent
e41bb325c2
commit
30058c9d35
@ -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} && \
|
||||
|
Loading…
Reference in New Issue
Block a user