Skip to content

Commit 21eacff

Browse files
committed
add gpg key
1 parent 2dfd17d commit 21eacff

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.docker/jazzy.amd64.dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ ARG BRANCH="ros2"
44

55
# Install Utilities
66
# hadolint ignore=DL3008
7-
RUN apt-get update && \
7+
ADD --chown=root:root --chmod=0644 https://raw.githubusercontent.com/osrf/osrf-rosdep/master/gz/00-gazebo.list /etc/ros/rosdep/sources.list.d/00-gazebo.list
8+
RUN wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg \
9+
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null \
10+
&& apt-get update && \
811
apt-get install -y --no-install-recommends \
912
sudo xterm init systemd snapd vim net-tools \
1013
curl wget git build-essential cmake cppcheck \

.docker/jazzy.arm64v8.dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ RUN bash install.sh
9494
ENV DEBIAN_FRONTEND=noninteractive
9595
ENV DEBCONF_NONINTERACTIVE_SEEN=true
9696
# hadolint ignore=DL3008
97-
RUN apt-get -q update && \
97+
ADD --chown=root:root --chmod=0644 https://raw.githubusercontent.com/osrf/osrf-rosdep/master/gz/00-gazebo.list /etc/ros/rosdep/sources.list.d/00-gazebo.list
98+
RUN wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg \
99+
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null \
100+
&& apt-get -q update && \
98101
apt-get install -y --no-install-recommends \
99102
python-is-python3 python3-future python3-wxgtk4.0 python3-pexpect \
100103
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \

0 commit comments

Comments
 (0)