Skip to content

Commit 00659de

Browse files
author
Murilo Marinho
committed
[docker] Removing unused packages to make images smaller.
1 parent 3ffbbd1 commit 00659de

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

.devel/scripts/setup_sas_ros_jazzy_coppeliasim.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ apt-get install -y --no-install-recommends \
1010
libavcodec-dev libavformat-dev libswscale-dev \
1111
python3 python3-pip python3-venv libraw1394-11 libmpfr6 \
1212
libusb-1.0-0
13+
# Clean up unused packages
14+
apt-get clean
15+
rm -rf /var/lib/apt/lists/*
1316

1417
python3 -m pip install pyzmq cbor2 --break-system-packages
1518

.github/workflows/autobuilder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: Debian Builder
2-
on: [workflow_dispatch]
2+
on: [push, workflow_dispatch]
33

44
jobs:
55
debian_builder:

install.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
#!/bin/bash
2+
# Add SAS apt sources
23
curl -s --compressed "https://smartarmstack.github.io/smart_arm_stack_ROS2/KEY.gpg" | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/smartarmstack_lgpl.gpg >/dev/null
34
sudo curl -s --compressed -o /etc/apt/sources.list.d/smartarmstack_lgpl.list "https://smartarmstack.github.io/smart_arm_stack_ROS2/smartarmstack_lgpl.list"
5+
# Update apt
46
sudo apt update
5-
sudo apt-get install ros-jazzy-sas-*
7+
# Install sas
8+
sudo apt-get install ros-jazzy-sas-*
9+
# Remove unused apt info
10+
apt-get clean
11+
rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)