Skip to content

Commit

Permalink
Explicitly specify pip3 to avoid pulling python2 dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
apockill committed Sep 20, 2021
1 parent 0ccff89 commit e48902c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e48902c

Please sign in to comment.