From e48902c85c8018686d9a9b714215ebaf5c5c2047 Mon Sep 17 00:00:00 2001 From: Alex Thiel Date: Mon, 20 Sep 2021 12:12:08 -0700 Subject: [PATCH] Explicitly specify pip3 to avoid pulling python2 dependencies --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index e8a800d..9746ef3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,14 +29,14 @@ RUN curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | apt python-rosinstall-generator \ python-wstool \ build-essential \ - python-pip && \ + python3-pip && \ # Project-specific build dependencies rosdep install -r -y -i --from-paths . && \ rm -rf /var/lib/apt/lists/* # Install python dependencies ARG PYMYCOBOT_VERSION -RUN pip install "pymycobot $PYMYCOBOT_VERSION" --user +RUN pip3 install "pymycobot $PYMYCOBOT_VERSION" --user # Build the project WORKDIR /catkin_ws