Docker: keep poetry installed (#30108)

keep poetry
This commit is contained in:
Justin Newberry
2023-09-29 14:28:53 -07:00
committed by GitHub
parent 84609f365b
commit 7ab14fa71f
+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