docker: Make the CMake download and extraction less verbose

The wget command can easily print 800 lines to the docker output
log, and the tar unpacking prints over 6000 lines.
This commit is contained in:
Martin Storsjö committed 2023-06-01 19:54:57 +03:00
1 parent 1d7cf51b96
commit bf58d32dc4
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -11,8 +11,8 @@ RUN apt-get update -qq && apt-get install -qqy --no-install-recommends \
# LLVM requires CMake 3.13.4, while Ubuntu 18.04 ships with 3.10.2. If
# updating to a newer distribution, this can be dropped.
RUN cd /opt && \
wget https://github.com/Kitware/CMake/releases/download/v3.20.1/cmake-3.20.1-Linux-$(uname -m).tar.gz && \
tar -zxvf cmake-*.tar.gz && \
curl -LO https://github.com/Kitware/CMake/releases/download/v3.20.1/cmake-3.20.1-Linux-$(uname -m).tar.gz && \
tar -zxf cmake-*.tar.gz && \
rm cmake-*.tar.gz && \
mv cmake-* cmake
ENV PATH=/opt/cmake/bin:$PATH
+2 -2
View File
@@ -11,8 +11,8 @@ RUN apt-get update -qq && apt-get install -qqy --no-install-recommends \
# LLVM requires CMake 3.13.4, while Ubuntu 18.04 ships with 3.10.2. If
# updating to a newer distribution, this can be dropped.
RUN cd /opt && \
wget https://github.com/Kitware/CMake/releases/download/v3.20.1/cmake-3.20.1-Linux-$(uname -m).tar.gz && \
tar -zxvf cmake-*.tar.gz && \
curl -LO https://github.com/Kitware/CMake/releases/download/v3.20.1/cmake-3.20.1-Linux-$(uname -m).tar.gz && \
tar -zxf cmake-*.tar.gz && \
rm cmake-*.tar.gz && \
mv cmake-* cmake
ENV PATH=/opt/cmake/bin:$PATH