Skip to content

Commit 18b09d9

Browse files
author
Murilo Marinho
committed
Updating devel scripts.
1 parent b771ab2 commit 18b09d9

File tree

3 files changed

+5
-13
lines changed

3 files changed

+5
-13
lines changed

.devel/build_container.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
docker buildx build -t sas_deb_builder --platform=linux/amd64 sas_deb_builder

.devel/build_ros2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
7070
for 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

.devel/run_container.sh

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
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

0 commit comments

Comments
 (0)