Skip to content

Commit

Permalink
update base image (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
Serafadam authored Feb 7, 2024
1 parent a35fc6e commit a6f683b
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/luxonis/rae-base:2023.12.19
FROM ghcr.io/luxonis/rae-base:2024.01.18-humble

ARG BUILD_TYPE="RelWithDebInfo"
ARG SIM=0
Expand All @@ -12,9 +12,6 @@ RUN apt-get update && apt-get -y install --no-install-recommends \
build-essential \
gpiod \
libasound2-dev \
ros-humble-cv-bridge \
ros-humble-image-transport \
ros-humble-image-transport-plugins \
ros-humble-rmw-cyclonedds-cpp \
gstreamer1.0-plugins-bad \
alsa-utils \
Expand All @@ -37,13 +34,8 @@ RUN cp -R .$WS/src/rae-ros/assets/. /usr/share
RUN rm -rf .$WS/src/rae-ros/assets
RUN rm -rf .$WS/src/rae-ros/rae_gazebo

RUN cd .$WS/src && git clone https://github.com/Serafadam/ira_laser_tools.git && git clone https://github.com/Serafadam/depth_nav_tools.git
RUN cd .$WS/src && git clone https://github.com/BrettRD/ros-gst-bridge && \
cd ros-gst-bridge && \
git checkout 23980326ce8c0fefc0d5d590c2bfc9d308f35a73 # Pin latest master version at the time.
RUN cd ${WS}/src && git clone --branch dai_ros_py https://github.com/luxonis/depthai-ros.git
RUN cd .$WS/ && rosdep install --from-paths src --ignore-src -y --skip-keys depthai --skip-keys depthai_bridge --skip-keys depthai_ros_driver --skip-keys audio_msgs --skip-keys laserscan_kinect --skip-keys ira_laser_tools
RUN cd .$WS/ && . /opt/ros/${ROS_DISTRO}/setup.sh && . /sai_ros/spectacularai_ros2/install/setup.sh && colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
RUN cd .$WS/ && . /opt/ros/${ROS_DISTRO}/setup.sh && . /sai_ros/spectacularai_ros2/install/setup.sh && . /${UNDERLAY_WS}/install/setup.sh && colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
RUN echo "if [ -f ${WS}/install/setup.bash ]; then source ${WS}/install/setup.bash; fi" >> $HOME/.bashrc
RUN echo "if [ -f ${WS}/install/setup.zsh ]; then source ${WS}/install/setup.zsh; fi" >> $HOME/.zshrc
RUN chmod +x /ws/src/rae-ros/entrypoint.sh
Expand Down

0 comments on commit a6f683b

Please sign in to comment.