diff --git a/dockerbuild/Dockerfile.debian-stretch b/dockerbuild/Dockerfile.debian-stretch index e85e03417..cbc45c148 100644 --- a/dockerbuild/Dockerfile.debian-stretch +++ b/dockerbuild/Dockerfile.debian-stretch @@ -9,7 +9,7 @@ RUN curl -s -k $go_pkg_url -o go.tar.gz && \ rm go.tar.gz RUN curl -s -L https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3-Linux-x86_64.sh -o cmake.sh && \ chmod +x cmake.sh && \ - yes | ./cmake.sh && \ + ./cmake.sh --skip-license --exclude-subdir && \ rm cmake.sh RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build diff --git a/dockerbuild/Dockerfile.ubuntu-xenial b/dockerbuild/Dockerfile.ubuntu-xenial index a12c715b9..4d371ca37 100644 --- a/dockerbuild/Dockerfile.ubuntu-xenial +++ b/dockerbuild/Dockerfile.ubuntu-xenial @@ -9,7 +9,7 @@ RUN curl -s -k $go_pkg_url -o go.tar.gz && \ rm go.tar.gz RUN curl -s -L https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3-Linux-x86_64.sh -o cmake.sh && \ chmod +x cmake.sh && \ - yes | ./cmake.sh && \ + ./cmake.sh --skip-license --exclude-subdir && \ rm cmake.sh