Skip to content

Commit dcb99b2

Browse files
authored
added --user flag to pip install (#10874)
1 parent 24d0c35 commit dcb99b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

images/test-runner/rootfs/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ RUN wget -qO /tmp/helm.tgz \
120120
&& rm -rf /tmp/*
121121

122122
# Install a YAML Linter
123-
RUN pip install "yamllint==$YAML_LINT_VERSION"
123+
RUN pip install --user "yamllint==$YAML_LINT_VERSION"
124124

125125
# Install Yamale YAML schema validator
126-
RUN pip install "yamale==$YAMALE_VERSION"
126+
RUN pip install --user "yamale==$YAMALE_VERSION"
127127

128128
LABEL org.opencontainers.image.source=https://github.com/kubernetes/ingress-nginx
129129

0 commit comments

Comments
 (0)