Bladeren bron

yes pipe too

Grant Limberg 5 jaren geleden
bovenliggende
commit
4cb35a2975
2 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 1 1
      dockerbuild/Dockerfile.debian-stretch
  2. 1 1
      dockerbuild/Dockerfile.ubuntu-xenial

+ 1 - 1
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 && \
-    ./cmake.sh && \
+    yes | ./cmake.sh && \
     rm cmake.sh
 
 RUN groupadd -g 1000 jenkins-build && useradd -u 1000 -g 1000 jenkins-build

+ 1 - 1
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 && \
-    ./cmake.sh && \
+    yes | ./cmake.sh && \
     rm cmake.sh