commit 1138b74b54a74ddf730db2d64747d63ef3cc5f02 Author: James Pace Date: Mon May 25 11:40:42 2026 -0400 Track Dockerfile. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..fb3674e --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +build/ +install/ +log/ +src/ diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..29297e9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,35 @@ +FROM docker.io/library/ros:jazzy-ros-base + +# ROS deps +RUN apt update && \ + apt install -y \ + ros-jazzy-cv-bridge \ + ros-jazzy-image-transport + +# Image Stream Deps +RUN apt update && \ + apt install -y \ + libgstreamer-plugins-base1.0-dev \ + libgstreamer-plugins-good1.0-dev \ + libgstreamer-plugins-bad1.0-dev \ + libgstrtspserver-1.0-dev \ + gstreamer1.0-plugins-ugly \ + gstreamer1.0-plugins-bad + + +# Web deps +RUN apt update && \ + apt install -y curl +RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - +RUN apt update && \ + apt install -y \ + nodejs \ + python3-aiohttp \ + inetutils-ping +RUN npm install -g corepack + +# Copy in source code. +RUN mkdir /opt/robot_status_ui +WORKDIR /opt/robot_status_ui +COPY ./src/ /opt/robot_status_ui/ +RUN . /opt/ros/jazzy/setup.sh && colcon build