File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change 30
30
with :
31
31
clean : true
32
32
33
+ - name : Fix ROS 2 keys # TODO: remove this once https://github.com/docker-library/official-images/pull/19162 is merged
34
+ run : |
35
+ rm /etc/apt/sources.list.d/ros2-latest.list
36
+ rm /usr/share/keyrings/ros2-latest-archive-keyring.gpg
37
+ apt-get update
38
+ apt-get install -y ca-certificates curl
39
+ export ROS_APT_SOURCE_VERSION=$(curl -s https://api.github.com/repos/ros-infrastructure/ros-apt-source/releases/latest | grep -F "tag_name" | awk -F\" '{print $4}') ;\
40
+ curl -L -s -o /tmp/ros2-apt-source.deb "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-apt-source_${ROS_APT_SOURCE_VERSION}.$(. /etc/os-release && echo $VERSION_CODENAME)_all.deb" \
41
+ && apt-get update \
42
+ && apt-get install /tmp/ros2-apt-source.deb \
43
+ && rm -f /tmp/ros2-apt-source.deb
44
+
33
45
- name : Install Poetry
34
46
uses : snok/install-poetry@v1
35
47
with :
Original file line number Diff line number Diff line change 16
16
image : osrf/ros:humble-desktop-full
17
17
18
18
steps :
19
+ - name : Fix ROS 2 keys # TODO: remove this once https://github.com/docker-library/official-images/pull/19162 is merged
20
+ run : |
21
+ rm /etc/apt/sources.list.d/ros2-latest.list
22
+ rm /usr/share/keyrings/ros2-latest-archive-keyring.gpg
23
+ apt-get update
24
+ apt-get install -y ca-certificates curl
25
+ export ROS_APT_SOURCE_VERSION=$(curl -s https://api.github.com/repos/ros-infrastructure/ros-apt-source/releases/latest | grep -F "tag_name" | awk -F\" '{print $4}') ;\
26
+ curl -L -s -o /tmp/ros2-apt-source.deb "https://github.com/ros-infrastructure/ros-apt-source/releases/download/${ROS_APT_SOURCE_VERSION}/ros2-apt-source_${ROS_APT_SOURCE_VERSION}.$(. /etc/os-release && echo $VERSION_CODENAME)_all.deb" \
27
+ && apt-get update \
28
+ && apt-get install /tmp/ros2-apt-source.deb \
29
+ && rm -f /tmp/ros2-apt-source.deb
30
+
19
31
- name : Install pre-commit
20
32
run : |
21
33
apt update && apt install -y python3-pip shellcheck python-is-python3
You can’t perform that action at this time.
0 commit comments