From d4e66e7c974b01d3152590afff7827af51ebe94b Mon Sep 17 00:00:00 2001 From: johncolvin-og <46972520+johncolvin-og@users.noreply.github.com> Date: Sun, 11 Sep 2022 11:55:49 -0400 Subject: [PATCH] Install cmake without 'sudo' cmd It's unnecessary, and furthermore, the sudo cmd isn't installed until after cmake --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f7085f6..46871dd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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