Fixed clang-format install

This commit is contained in:
Pedro Pinto committed 2020-06-02 09:08:18 -04:00
1 parent 0df20ec20a
commit 405c15413c
1 file changed
+3 -1
+3 -1
View File
@@ -89,8 +89,10 @@ apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
run \
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-9 100; \
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-9 100; \
update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-9 100; \
update-alternatives --config clang; \
update-alternatives --config clang++
update-alternatives --config clang++; \
update-alternatives --config clang-format
# this is done here so that ccache sees clang++ installed, not clang-9
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y ccache