Fixed Docker Compose build error (cant find ros-humble-hardware-interface, ros-humble-controller-interface)

This commit is contained in:
Niko Feith 2024-03-25 10:11:43 +01:00
parent 6449dccd60
commit 503587c227

View File

@ -4,7 +4,9 @@ FROM osrf/ros:humble-desktop-full-jammy
# Update and install dependencies # Update and install dependencies
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
python3-colcon-common-extensions python3-pip \ python3-colcon-common-extensions python3-pip \
ros-humble-xacro ros-humble-xacro \
ros-humble-hardware-interface \
ros-humble-controller-interface
COPY requirements.txt ./ COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt