From 449d2e4513a6c46feff3363c21da91b2824bf287 Mon Sep 17 00:00:00 2001 From: Hyunsu Cho Date: Thu, 2 Apr 2020 05:06:09 -0700 Subject: [PATCH] Fix Dockerfile --- tests/ci_build/Dockerfile.clang_tidy | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/ci_build/Dockerfile.clang_tidy b/tests/ci_build/Dockerfile.clang_tidy index 60d7f6758f82..3003ad134cd7 100644 --- a/tests/ci_build/Dockerfile.clang_tidy +++ b/tests/ci_build/Dockerfile.clang_tidy @@ -7,9 +7,12 @@ ENV DEBIAN_FRONTEND noninteractive # Install all basic requirements RUN \ apt-get update && \ + apt-get install -y tar unzip wget git build-essential python3 python3-pip software-properties-common \ + apt-transport-https ca-certificates gnupg-agent && \ wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \ - add-apt-repository -u 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main' && \ - apt-get install -y tar unzip wget git build-essential python3 python3-pip llvm-10 clang-tidy-10 clang-10 && \ + add-apt-repository -u 'deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 main' && \ + apt-get update && \ + apt-get install -y llvm-10 clang-tidy-10 clang-10 && \ wget -nv -nc https://cmake.org/files/v3.12/cmake-3.12.0-Linux-x86_64.sh --no-check-certificate && \ bash cmake-3.12.0-Linux-x86_64.sh --skip-license --prefix=/usr