From 7a9258342e7fe6576c316c15d3aa2f2b58c6de11 Mon Sep 17 00:00:00 2001 From: longwuyuan Date: Sat, 20 Jan 2024 09:28:30 +0530 Subject: [PATCH] changed yamale install from pip to manual download & install --- 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