3 RUN apt-get update && apt-get install -y \
7 software-properties-common \
10 # newer CMake is required by LLVM
11 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
12 RUN apt-add-repository -y 'deb https://apt.kitware.com/ubuntu/ bionic main'
14 # test system dependencies
15 RUN apt-get update && apt-get install -y \
18 python3=3.6.7-1~18.04 \
19 python3-pip=9.0.1-2.3* \
24 RUN apt-get install -y \
25 libx11-dev=2:1.6.4-3* \
26 libxrandr-dev=2:1.5.1-1 \
27 libxinerama-dev=2:1.1.3-1 \
28 libxcursor-dev=1:1.1.15-1 \
31 # symengine dependencies
32 RUN apt-get install -y \
33 libgmp10=2:6.1.2+dfsg-2 \
34 libgmp-dev=2:6.1.2+dfsg-2
36 # simbody dependencies
37 RUN apt-get install -y \
38 liblapack-dev=3.7.1-4*
41 RUN apt-get install -y \
42 libjsonrpccpp-dev=0.7.0-1* \
46 RUN apt-get install -y \
47 autotools-dev=20180224.1 \
48 automake=1:1.15.1-3* \
49 libncurses5-dev=6.1-1* \
51 pkg-config=0.29.1-0* \
55 RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
63 ENV PATH="/analyzer/bin:${PATH}"
65 ADD entrypoint.py /entrypoint.py
67 ADD requirements.txt /requirements.txt
68 RUN pip3 install -r /requirements.txt
70 ENTRYPOINT ["python", "/entrypoint.py"]