added --user flag to pip install (#10874)

This commit is contained in:
Long Wu Yuan 2024-01-19 08:41:30 +05:30 committed by GitHub
parent 24d0c35525
commit dcb99b2fa9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -120,10 +120,10 @@ RUN wget -qO /tmp/helm.tgz \
&& rm -rf /tmp/*
# Install a YAML Linter
RUN pip install "yamllint==$YAML_LINT_VERSION"
RUN pip install --user "yamllint==$YAML_LINT_VERSION"
# Install Yamale YAML schema validator
RUN pip install "yamale==$YAMALE_VERSION"
RUN pip install --user "yamale==$YAMALE_VERSION"
LABEL org.opencontainers.image.source=https://github.com/kubernetes/ingress-nginx