-
Notifications
You must be signed in to change notification settings - Fork 24
/
Dockerfile
40 lines (32 loc) · 1.14 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install wget -y && \
apt-get install unzip -y && \
apt-get install git -y && \
apt-get install vim -y && \
apt-get install python3-pip -y && \
apt-get install libyaml-cpp-dev -y && \
#apt install libeigen3-dev -y && \
apt-get install libpython3.10 -y && \
apt-get install libx11-6 -y && \
apt-get install libsm6 -y && \
apt-get install libxt6 -y && \
apt-get install libglib2.0-0 -y && \
apt-get install python3-sphinx -y && \
apt-get install python3-numpydoc -y && \
apt-get install python3-sphinx-rtd-theme -y && \
apt-get install python-is-python3
# libeigen3-dev install does not work with apt
RUN wget -O Eigen.zip https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.zip
RUN unzip Eigen.zip
RUN cp -r eigen-3.4.0/Eigen /usr/local/include
#RUN python -m ensurepip --upgrade
RUN pip install -U pip
RUN git clone https://github.com/dfki-ric-underactuated-lab/double_pendulum.git
WORKDIR "/double_pendulum"
# RUN git checkout v0.1.0
RUN make install
RUN make pythonfull
RUN make doc
RUN make tests