Skip to content

Commit

Permalink
fix(docker/Dockerfile): update kitware apt key (#11)
Browse files Browse the repository at this point in the history
* fix: update kitware apt key

* fix(docker/Dockerfile): handle CI/CD error

Signed-off-by: Manato HIRABAYASHI <[email protected]>

---------

Signed-off-by: Manato HIRABAYASHI <[email protected]>
  • Loading branch information
manato authored Apr 25, 2023
1 parent 869b821 commit e2111d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ ARG L4T_VERSION=$L4T_RELEASE.$L4T_REVISION_MAJOR.$L4T_REVISION_MINOR

FROM dustynv/ros:galactic-ros-base-l4t-r$L4T_VERSION

# Fix GPG key to support recent key update
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN wget -q -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null \
&& echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ bionic main' | tee /etc/apt/sources.list.d/kitware.list >/dev/null \
&& sed -i 's|deb https://apt.kitware.com/ubuntu/ bionic main|#&|g' /etc/apt/sources.list

RUN apt-get update \
&& apt-get install -y --no-install-recommends \
g++-8 \
Expand Down

0 comments on commit e2111d4

Please sign in to comment.