We now source /opt/ros/noetic automatically

This commit is contained in:
Alex Davies 2024-09-17 12:14:34 -03:00
parent fbb8ab366e
commit 077ff6a0c4

View File

@ -1,10 +1,10 @@
# Stage 1: Build Stage
FROM git.spirirobotics.com/spiri/services-ros1-core:main AS builder
RUN apt-get update --yes && apt-get install --yes git build-essential
# ros-noetic-cv-bridge \
# ros-noetic-vision-opencv \
# ros-noetic-image-transport
#We need to make sure to source the ROS environment in our dockerfile
SHELL ["/bin/bash", "-c"]
RUN apt-get update --yes && apt-get install --yes git build-essential
RUN apt-get install --yes python3-rosdep python3-rosinstall python3-rosinstall-generator python3-wstool build-essential
@ -31,4 +31,3 @@ HEALTHCHECK {{HEALTHCHECK}}
# Command to run your application
CMD {{RUN_COMMAND}}