Skip to content

Commit

Permalink
fix: Remove root pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
hmiranda-queiros committed Feb 27, 2024
1 parent 5f50c35 commit ba73979
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker_foxy_desktop/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ RUN apt-get install -y --no-install-recommends \
libyaml-cpp-dev \
lcov

RUN pip install torch

# Add USB rules
RUN echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666"' | sudo tee /etc/udev/rules.d/80-movidius.rules
RUN /etc/init.d/udev restart
Expand All @@ -42,5 +40,8 @@ RUN rosdep update \
# Add the source of the project to the .bashrc
RUN echo "if [ -f /home/${USERNAME}/dev_ws/install/setup.bash ]; then source /home/${USERNAME}/dev_ws/install/setup.bash; fi" >> /home/${USERNAME}/.bashrc

# Install additional Python packages
RUN pip install torch

# Clean up
RUN sudo rm -rf /var/lib/apt/lists/*

0 comments on commit ba73979

Please sign in to comment.