changed pip to apk in test-runner dockerfile (#10885)

This commit is contained in:
Long Wu Yuan 2024-01-20 08:50:03 +05:30 committed by GitHub
parent ed3f067b8f
commit 256374079f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -120,7 +120,10 @@ RUN wget -qO /tmp/helm.tgz \
&& rm -rf /tmp/*
# Install a YAML Linter
RUN pip install --user "yamllint==$YAML_LINT_VERSION"
# Pip not working. Check PR https://github.com/kubernetes/ingress-nginx/pull/10874
# RUN pip install --user "yamllint==$YAML_LINT_VERSION"
RUN apk update -U \
apk add yamllint
# Install Yamale YAML schema validator
RUN pip install --user "yamale==$YAMALE_VERSION"