File tree Expand file tree Collapse file tree 3 files changed +5
-13
lines changed
Expand file tree Collapse file tree 3 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ docker buildx build -t sas_deb_builder --platform=linux/amd64 sas_deb_builder
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ cd tmp_ros2
6666# Clone all packages
6767# ###################################################################
6868
69- # Example "git@ github.com: SmartArmStack/sas_core .git"
69+ # Example https:// github.com/ SmartArmStack/smart_arm_stack_ROS2 .git
7070for pkg_name in " ${pkg_array[@]} " ; do
7171 echo " Cloning ${pkg_name} "
7272 git clone -b " $rosv " https://github.com/SmartArmStack/" $pkg_name " .git --recurse-submodules
Original file line number Diff line number Diff line change 22
33# Based on juanjqo's https://github.com/Adorno-Lab/docker_recipes/blob/main/run_container.sh
44
5- echo " Running container:" $1
6- # Argument validation check
7- if [ $# -eq 0 ]; then
8- echo " Error: No arguments provided."
9- echo " Example: sh run_container.sh ubuntu_24_dqrobotics"
10- exit 1
11- fi
12-
13- # /opt/X11/bin/xhost +local:root
14- # xhost +local:root
15- docker run -it --name=$1 \
5+ docker run -it --name=sas_deb_builder \
166--rm --privileged --network=host --env=DISPLAY --platform=linux/amd64 \
17- $1 /bin/bash
7+ sas_deb_builder /bin/bash
You can’t perform that action at this time.
0 commit comments