fixed docker image sripts and etc.

This commit is contained in:
2026-01-05 15:04:59 +01:00
parent 32a395f7e6
commit d8da1f443f
3 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM arm64v8/ros:jazzy-ros-core AS magrob.base.env
FROM arm64v8/ros:jazzy-ros-base AS magrob.base.env
RUN mkdir -p /ros_ws/src
WORKDIR /ros_ws/src

View File

@@ -10,6 +10,7 @@
<buildtool_depend>ament_cmake</buildtool_depend>
<depend>launch</depend>
<depend>launch_ros</depend>
<depend>xacro</depend>
<depend>mg_control</depend>
<depend>mg_odometry</depend>
<depend>mg_navigation</depend>

View File

@@ -34,15 +34,15 @@ case $TARGET in
ssh -N \
-o StrictHostKeyChecking=no \
-o UserKnownHostsFile=/dev/null \
-L *:5000:localhost:5000 \
-L 0.0.0.0:5000:localhost:5000 \
$REGISTRY &
echo "Building target: base"
sudo docker buildx build \
--platform linux/arm64 \
-t host.docker.internal:5000/magrob.env:latest \
-f Dockerfile.env \
-t localhost:5000/magrob.base.env:latest \
-f Dockerfile.base.env \
--output type=registry \
.
;;