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:
1 parent
1d7cf51b96
commit
bf58d32dc4
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user