mirror of
https://github.com/elephantrobotics/mycobot_ros.git
synced 2026-07-05 19:47:04 +00:00
Explicitly specify pip3 to avoid pulling python2 dependencies
This commit is contained in:
parent
0ccff89034
commit
e48902c85c
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue