Fixed docker build and dependencies
This commit is contained in:
15
Dockerfile
15
Dockerfile
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user