From 7908647e142399a0e001668dcab6e6e9f1ca1bc0 Mon Sep 17 00:00:00 2001 From: Kei Okada Date: Wed, 20 Nov 2024 10:34:56 +0900 Subject: [PATCH] jsk_spot_robot/coreio/bas/Dockerfile: install pip under system space using 'sudo -H pip3' --- jsk_spot_robot/coreio/base/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jsk_spot_robot/coreio/base/Dockerfile b/jsk_spot_robot/coreio/base/Dockerfile index be53b0674f..e343ca403f 100644 --- a/jsk_spot_robot/coreio/base/Dockerfile +++ b/jsk_spot_robot/coreio/base/Dockerfile @@ -40,11 +40,11 @@ COPY package.tar /tmp/ RUN tar -C /tmp/ws/ -xvf /tmp/package.tar # install pip3 dependencies -RUN pip3 install pip==21.3.1 -RUN pip3 install wrapt==1.12.1 six==1.15.0 PyJWT==2.0.0 numpy==1.19.4 grpcio==1.34.0 +RUN sudo -H pip3 install pip==21.3.1 +RUN sudo -H pip3 install wrapt==1.12.1 six==1.15.0 PyJWT==2.0.0 numpy==1.19.4 grpcio==1.34.0 # install python requirements -RUN pip3 install -r /tmp/ws/src/jsk_robot/jsk_spot_robot/requirements.txt +RUN sudo -H pip3 install -r /tmp/ws/src/jsk_robot/jsk_spot_robot/requirements.txt # # rosdep install # RUN sudo apt-get update && rosdep install -y -r --from-paths /tmp/ws/src --ignore-src --rosdistro melodic || echo "OK"