yes pipe too

This commit is contained in:
Grant Limberg 2020-06-12 13:58:50 -07:00
parent 405250ce79
commit 4cb35a2975
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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