Fix docker build (#323)

* fix repos for clang
* fix path for CLANG_FORMAT_BIN in syntax_check.sh
* get version for clang-format
* fix versions for clang-format
This commit is contained in:
rusdacent
2021-02-03 01:15:45 +03:00
committed by GitHub
parent 8836e34840
commit 7481cfd6eb
2 changed files with 3 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ FROM ubuntu:18.04
ENV PATH /root/.cargo/bin:$PATH
RUN apt update && \
apt install -y --no-install-recommends \
DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
software-properties-common \
gpg-agent \
make \
@@ -26,7 +26,7 @@ RUN apt update && \
git \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key| apt-key add - && add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main"
RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key| apt-key add - && add-apt-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-12 main"
RUN apt update && \
apt install -y --no-install-recommends \