From 256374079f29993e554b934ffec576b7b6fd54ac Mon Sep 17 00:00:00 2001 From: Long Wu Yuan Date: Sat, 20 Jan 2024 08:50:03 +0530 Subject: [PATCH] changed pip to apk in test-runner dockerfile (#10885) --- images/test-runner/rootfs/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/images/test-runner/rootfs/Dockerfile b/images/test-runner/rootfs/Dockerfile index e6502ea68..13ca6074f 100644 --- a/images/test-runner/rootfs/Dockerfile +++ b/images/test-runner/rootfs/Dockerfile @@ -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"