Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jyjblrd committed May 2, 2024
1 parent ab56c9f commit f97acca
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
FROM ros:humble
SHELL ["/bin/bash", "-c"]

# FROM dustynv/ros:humble-pytorch-l4t-r35.3.1 # when using pytorch (image is larger though)

Expand All @@ -11,7 +10,7 @@ RUN apt-get update && apt-get install -y git vim

#WORKDIR /opt/root_ws

#RUN source /opt/ros/humble/install/setup.sh && colcon build --symlink-install --packages-select robomaster_msgs freyja_msgs state_manager lqg_control robomaster_handler sensing_msgs control waypoint_manager
#RUN . /opt/ros/humble/install/setup.sh && colcon build --symlink-install --packages-select robomaster_msgs freyja_msgs state_manager lqg_control robomaster_handler sensing_msgs control waypoint_manager

#COPY cyclone_dds_profile.xml /opt/robomaster

Expand All @@ -35,7 +34,7 @@ RUN sudo apt install -y ros-humble-interactive-markers
# Build part II project
RUN apt-get update && yes | apt-get install libboost-all-dev
RUN cd /opt/root_ws \
&& source ros_entrypoint.sh \
&& . ros_entrypoint.sh \
&& git clone https://github.com/jyjblrd/part_II_project \
&& cd part_II_project \
&& git config --global --add safe.directory /opt/root_ws/part_II_project \
Expand Down

0 comments on commit f97acca

Please sign in to comment.