File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
2- docker buildx build -t sas_deb_builder --platform=linux/amd64 sas_deb_builder
2+ docker buildx build -t sas_deb_builder sas_deb_builder
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ rosv="jazzy"
1414# Ubuntu version
1515ubuntuv=" noble"
1616# Architecture
17- archname= " amd64 "
17+ arch= $( uname -i )
1818
1919PRE_BUILD () {
2020# Remove the debian folder just in case. In ROS1 and catkin this was an issue
@@ -121,6 +121,6 @@ for pkg_name in "${pkg_array[@]}"; do
121121 cd ..
122122 # Install package but replace _ by -. E.g. sas_core becomes sas-core.
123123 # https://stackoverflow.com/questions/3306007/replace-a-string-in-shell-script-using-a-variable
124- sudo dpkg -i ros-" $rosv " -" ${pkg_name// _/ -} " _* " $ubuntuv " _" $archname " .deb
124+ sudo dpkg -i ros-" $rosv " -" ${pkg_name// _/ -} " _* " $ubuntuv " _" $arch " .deb
125125 ${var// 12345678/ $replace }
126126done
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+ # Copyright (c) Murilo M. Marinho (www.murilomarinho.info)
3+
4+ docker cp < containerId> :/file/path/within/container /host/path/target
Original file line number Diff line number Diff line change 33# Based on juanjqo's https://github.com/Adorno-Lab/docker_recipes/blob/main/run_container.sh
44
55docker run -it --name=sas_deb_builder \
6- --rm --privileged --network=host --env=DISPLAY --platform=linux/amd64 \
6+ --rm --privileged --network=host --env=DISPLAY \
77sas_deb_builder /bin/bash
You can’t perform that action at this time.
0 commit comments