From ddba096b4ac17e2a1db18823fcb01ed76755b631 Mon Sep 17 00:00:00 2001 From: Long Wu Yuan Date: Mon, 22 Jan 2024 16:38:48 +0530 Subject: [PATCH] changed yamale install from pip to manual download & install (#10886) --- images/test-runner/rootfs/Dockerfile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/images/test-runner/rootfs/Dockerfile b/images/test-runner/rootfs/Dockerfile index 13ca6074f..26d72cb0d 100644 --- a/images/test-runner/rootfs/Dockerfile +++ b/images/test-runner/rootfs/Dockerfile @@ -126,7 +126,13 @@ RUN apk update -U \ apk add yamllint # Install Yamale YAML schema validator -RUN pip install --user "yamale==$YAMALE_VERSION" +# Commenting pip install yamale because broken cloudbuild https://github.com/kubernetes/ingress-nginx/pull/10885 +# RUN pip install --user "yamale==$YAMALE_VERSION" +RUN wget https://github.com/23andMe/Yamale/archive/master.zip \ + && unzip -d /tmp master.zip \ + && cd /tmp/Yamale-master \ + && python setup.py install \ + && yamale -V LABEL org.opencontainers.image.source=https://github.com/kubernetes/ingress-nginx