changed yamale install from pip to manual download & install (#10886)

This commit is contained in:
Long Wu Yuan 2024-01-22 16:38:48 +05:30 committed by GitHub
parent d382bc3d64
commit 103dae67dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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