Skip to content

Commit 82b2557

Browse files
authored
kitware gpg fix
1 parent 867e269 commit 82b2557

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docker/test/util/Dockerfile

+2-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ RUN apt-get update \
3434

3535
# Install cmake 3.20+ for Rust support
3636
# Used https://askubuntu.com/a/1157132 as reference
37-
RUN curl -s https://apt.kitware.com/keys/kitware-archive-latest.asc | \
38-
gpg --dearmor - > /etc/apt/trusted.gpg.d/kitware.gpg && \
39-
echo "deb https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main" >> /etc/apt/sources.list
37+
RUN curl -s https://apt.kitware.com/keys/kitware-archive-latest.asc | gpg --dearmor - > /etc/apt/trusted.gpg.d/kitware.gpg && \
38+
echo "deb [signed-by=/etc/apt/trusted.gpg.d/kitware.gpg] https://apt.kitware.com/ubuntu/ $(lsb_release -cs) main" >> /etc/apt/sources.list.d/kitware.list
4039

4140
# initial packages
4241
RUN apt-get update \

0 commit comments

Comments
 (0)