Docker: keep poetry installed (#30108)

keep poetry
old-commit-hash: 7ab14fa71f9431082887e1c109758b9f3934f09e
This commit is contained in:
Justin Newberry
2023-09-29 14:28:53 -07:00
committed by GitHub
parent dc0babfae4
commit 4f69870dc9
+1 -2
View File
@@ -38,8 +38,7 @@ COPY --chown=$USER tools/install_python_dependencies.sh /tmp/tools/
RUN cd /tmp && \
tools/install_python_dependencies.sh && \
rm -rf /tmp/* && \
rm -rf /home/$USER/.cache && \
pip uninstall -y poetry
rm -rf /home/$USER/.cache
USER root
RUN sudo git config --global --add safe.directory /tmp/openpilot