Skip to content

Commit dd8c5f6

Browse files
author
Murilo Marinho
committed
Adjusting commands to extract .deb
1 parent ca1d955 commit dd8c5f6

4 files changed

Lines changed: 9 additions & 2 deletions

File tree

.devel/build_container.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
#!/bin/bash
2+
set -e
23
docker buildx build -t sas_deb_builder sas_deb_builder

.devel/extract_debian_from_container.sh

100644100755
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
#!/bin/bash
22
# Copyright (c) Murilo M. Marinho (www.murilomarinho.info)
3+
set -e
34

4-
docker cp <containerId>:/file/path/within/container /host/path/target
5+
mkdir -p upload
6+
7+
docker run -d --name extract_files sas_deb_builder || true
8+
docker exec extract_files bash -c "mkdir -p ~/extract; cp -f /root/tmp_ros2/*.deb ~/extract"
9+
docker cp extract_files:/root/extract upload/

.devel/prebuild_ros2.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
set -e
23
# Copyright (c) Murilo M. Marinho (www.murilomarinho.info)
34

45
# Pre-requisites

.devel/run_container.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
2+
set -e
33
# Based on juanjqo's https://github.com/Adorno-Lab/docker_recipes/blob/main/run_container.sh
44

55
docker run -it --name=sas_deb_builder \

0 commit comments

Comments
 (0)