1FROM ubuntu:22.04 2MAINTAINER Marco Poletti <poletti.marco@gmail.com> 3 4COPY common_install.sh common_cleanup.sh / 5 6RUN bash -x /common_install.sh 7 8COPY ubuntu-22.04_custom.list /etc/apt/sources.list.d/ 9 10RUN apt-get update 11 12RUN apt-get remove -y python3-pip 13 14RUN apt-get install -y --allow-unauthenticated --no-install-recommends \ 15 g++-9 \ 16 g++-10 \ 17 g++-11 \ 18 g++-12 \ 19 clang-11 \ 20 clang-12 \ 21 clang-13 \ 22 clang-14 \ 23 clang-15 \ 24 python3 \ 25 python3-distutils \ 26 python3-pip \ 27 clang-tidy \ 28 clang-format 29 30RUN pip3 install absl-py 31RUN pip3 install bidict 32RUN pip3 install pytest 33RUN pip3 install pytest-xdist 34RUN pip3 install sh 35RUN pip3 install setuptools 36RUN pip3 install networkx 37RUN pip3 install wheel 38 39RUN bash -x /common_cleanup.sh 40