Install cmake without 'sudo' cmd

It's unnecessary, and furthermore, the sudo cmd isn't installed until after cmake
This commit is contained in:
johncolvin-og committed 2022-09-11 11:55:49 -04:00
1 parent 9fbb4162ed
commit d4e66e7c97
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ RUN \
# Add Kitware repo to get latest cmake. The ccapi lib relies on
# 'add_compile_definitions', which was introduced in cmake 3.12.
RUN \
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add - && \
wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add - && \
apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' && \
apt update