Skip to content

Commit 2563740

Browse files
authored
changed pip to apk in test-runner dockerfile (#10885)
1 parent ed3f067 commit 2563740

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

images/test-runner/rootfs/Dockerfile

+4-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,10 @@ RUN wget -qO /tmp/helm.tgz \
120120
&& rm -rf /tmp/*
121121

122122
# Install a YAML Linter
123-
RUN pip install --user "yamllint==$YAML_LINT_VERSION"
123+
# Pip not working. Check PR https://github.com/kubernetes/ingress-nginx/pull/10874
124+
# RUN pip install --user "yamllint==$YAML_LINT_VERSION"
125+
RUN apk update -U \
126+
apk add yamllint
124127

125128
# Install Yamale YAML schema validator
126129
RUN pip install --user "yamale==$YAMALE_VERSION"

0 commit comments

Comments
 (0)