1FROM ubuntu:20.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-20.04_custom.list /etc/apt/sources.list.d/ 9 10RUN apt-get update 11 12RUN apt-get remove -y python3-pip 13RUN python3 -m easy_install pip 14 15RUN apt-get install -y --allow-unauthenticated --no-install-recommends \ 16 g++-7 \ 17 g++-8 \ 18 g++-9 \ 19 g++-10 \ 20 clang-6.0 \ 21 clang-7 \ 22 clang-8 \ 23 clang-9 \ 24 clang-10 \ 25 python3.8 \ 26 python3.8-distutils \ 27 clang-tidy \ 28 clang-format 29 30RUN python3.8 -m easy_install pip 31 32RUN pip3 install absl-py 33RUN pip3 install bidict 34RUN pip3 install pytest 35RUN pip3 install pytest-xdist 36RUN pip3 install sh 37RUN pip3 install setuptools 38RUN pip3 install networkx 39RUN pip3 install wheel 40 41RUN bash -x /common_cleanup.sh 42