Fixed docker build and dependencies

This commit is contained in:
2026-03-01 18:36:59 +01:00
parent 1fd0e1b312
commit 123c2f37a8
3 changed files with 9 additions and 9 deletions

View File

@@ -18,12 +18,13 @@ RUN rosdep update
WORKDIR /ros_ws
# ---------- Copy package.xml files ----------
COPY toid_bot_description/package.xml toid_bot_description/package.xml
COPY toid_control/package.xml toid_control/package.xml
COPY toid_msgs/package.xml toid_msgs/package.xml
COPY toid_odometry/package.xml toid_odometry/package.xml
COPY toid_bot_description/package.xml toid_bot_description/package.xml
COPY toid_control/package.xml toid_control/package.xml
COPY toid_msgs/package.xml toid_msgs/package.xml
COPY toid_odometry/package.xml toid_odometry/package.xml
COPY toid_spinner_controller/package.xml toid_spinner_controller/package.xml
#COPY toid_navigation/package.xml toid_navigation/package.xml
COPY toid_behaviors/package.xml toid_behaviors/package.xml
COPY toid_navigation/package.xml toid_navigation/package.xml
# ---------- Install dependencies ----------
RUN . /opt/ros/jazzy/setup.sh && \
@@ -34,9 +35,9 @@ RUN rm -rf ./*
RUN cat <<EOF >> /root/.bashrc
source /opt/ros/jazzy/setup.bash
if [[-f ./install/setup.bash ]] then;
if [[ -f ./install/setup.bash ]]; then
source ./install/setup.bash
if
fi
EOF