Files
snmalloc/ci/linux_x64
Nathaniel Filardo a949e37602 ci: move linux_x64 to Ubuntu 20.04 LTS
This brings us clang 10 and its understanding of C++20 as a standard (rather
than it being called c++2a in earlier versions).

Ubuntu folded together clang-N and clang++-N into the former, so adjust the
names of packages to be installed.
2021-04-21 21:49:01 +01:00

17 lines
791 B
Plaintext

FROM ubuntu:20.04
RUN apt update \
&& apt install -y software-properties-common \
&& add-apt-repository ppa:ubuntu-toolchain-r/test \
&& apt update \
&& apt install --no-install-recommends -y sudo cmake ninja-build git \
&& apt install --no-install-recommends -y g++-8 \
&& apt install --no-install-recommends -y clang-7 \
&& apt install --no-install-recommends -y clang-8 \
&& apt install --no-install-recommends -y clang-9 \
&& apt install --no-install-recommends -y clang-10 \
&& apt install --no-install-recommends -y clang-format-9 clang-tidy-9 \
&& update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-9 100 \
&& apt remove -y software-properties-common \
&& apt -y autoremove \
&& apt -y clean