added --user flag to pip install

This commit is contained in:
longwuyuan 2024-01-19 08:16:51 +05:30
parent 24d0c35525
commit 8e25dc8032

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