| RUN apt-get update && apt-get install -y \ |
| software-properties-common \ |
| # newer CMake is required by LLVM |
| RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null |
| RUN apt-add-repository -y 'deb https://apt.kitware.com/ubuntu/ bionic main' |
| # test system dependencies |
| RUN apt-get update && apt-get install -y \ |
| libxrandr-dev=2:1.5.1-1 \ |
| libxinerama-dev=2:1.1.3-1 \ |
| libxcursor-dev=1:1.1.15-1 \ |
| libgmp10=2:6.1.2+dfsg-2 \ |
| libgmp-dev=2:6.1.2+dfsg-2 |
| libjsonrpccpp-dev=0.7.0-1* \ |
| autotools-dev=20180224.1 \ |
| RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1 |
| ENV PATH="/analyzer/bin:${PATH}" |
| ADD entrypoint.py /entrypoint.py |
| ADD requirements.txt /requirements.txt |
| RUN pip3 install -r /requirements.txt |
| ENTRYPOINT ["python", "/entrypoint.py"] |