From 43e55f7f664373f6f30ff30dc5112635999b6487 Mon Sep 17 00:00:00 2001 From: fwiebe Date: Tue, 27 Aug 2024 14:41:32 +0200 Subject: [PATCH] readded default Dockerfile --- Dockerfile | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..7ffcf4e2 --- /dev/null +++ b/Dockerfile @@ -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