Skip to content

Commit

Permalink
pip fix
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Delicat <[email protected]>
  • Loading branch information
delihus committed Jul 22, 2024
1 parent 8d36845 commit 8ac13a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Dockerfile.gazebo
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ COPY ./healthcheck.cpp /

# install everything needed
RUN apt-get update --fix-missing && apt-get install -y \
python3-pip \
ros-dev-tools && \
apt-get upgrade -y && \
# Clone source
Expand Down Expand Up @@ -89,7 +88,6 @@ COPY --from=healthcheck_builder /ros2_ws /ros2_ws_healthcheck

RUN apt-get update && apt-get install -y \
python3-rosdep \
python3-pip \
ros-$ROS_DISTRO-teleop-twist-keyboard && \
rm -rf /etc/ros/rosdep/sources.list.d/20-default.list && \
rosdep init && \
Expand All @@ -99,8 +97,7 @@ RUN apt-get update && apt-get install -y \
echo $(cat /ros2_ws/src/rosbot_gazebo/package.xml | grep '<version>' | sed -r 's/.*<version>([0-9]+.[0-9]+.[0-9]+)<\/version>/\1/g') > /version.txt && \
# Size optimalization
apt-get remove -y \
python3-rosdep \
python3-pip && \
python3-rosdep && \
apt-get clean && \
rm -rf src && \
rm -rf /var/lib/apt/lists/*
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.hardware
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ RUN apt-get update && apt-get install -y \
stm32flash \
gosu \
ros-$ROS_DISTRO-teleop-twist-keyboard && \
pip3 install pyftdi && \
pip3 install pyftdi --break-system-packages && \
rm -rf /etc/ros/rosdep/sources.list.d/20-default.list && \
rosdep init && \
rosdep update --rosdistro $ROS_DISTRO && \
Expand Down

0 comments on commit 8ac13a1

Please sign in to comment.