Commit 82f19832 authored by Tomáš Pecka's avatar Tomáš Pecka

[alt-builder]: Update to clang9. Create symlinks that strips the -9 suffix from name

parent 491626e9
Pipeline #49907 passed with stage
in 4 minutes and 57 seconds
FROM amd64/debian:buster
RUN apt-get update && apt-get install -y wget gnupg && \
echo "deb http://apt.llvm.org/buster/ llvm-toolchain-buster-8 main" >> /etc/apt/sources.list && \
echo "deb-src http://apt.llvm.org/buster/ llvm-toolchain-buster-8 main" >> /etc/apt/sources.list && \
echo "deb http://apt.llvm.org/buster/ llvm-toolchain-buster-9 main" >> /etc/apt/sources.list && \
echo "deb-src http://apt.llvm.org/buster/ llvm-toolchain-buster-9 main" >> /etc/apt/sources.list && \
wget -O llvm.key "https://apt.llvm.org/llvm-snapshot.gpg.key" && apt-key add llvm.key && \
apt-get remove --purge -y wget gnupg && \
\
apt-get update && \
apt-get install -y g++ clang++-8 lld-8 \
apt-get install -y g++ clang++-9 lld-9 \
cmake ninja-build python3 \
jq clang-tidy-8 cppcheck \
jq clang-tidy-9 cppcheck \
libxml2-dev libreadline-dev qtbase5-dev graphviz-dev libjsoncpp-dev libtclap-dev \
libxml2 libreadline7 libqt5widgets5 graphviz libqt5xml5 libjsoncpp1 && \
apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
rm -rf /var/lib/apt/lists/* && \
for file in /usr/bin/*-9; do echo ln -sf $file $(echo $file | sed 's/-9$//g'); done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment