-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
fwiebe
committed
Aug 27, 2024
1 parent
bd832a8
commit 43e55f7
Showing
1 changed file
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |