-
Notifications
You must be signed in to change notification settings - Fork 287
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fds_upstream
- Loading branch information
Showing
20 changed files
with
315 additions
and
187 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
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
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
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,70 @@ | ||
FROM ubuntu:focal | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install build dependencies | ||
RUN apt-get clean \ | ||
&& apt-get update \ | ||
&& apt-get -y install --no-install-recommends \ | ||
build-essential \ | ||
cmake \ | ||
git \ | ||
pkg-config \ | ||
software-properties-common \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Install DART dependencies | ||
RUN apt-get update \ | ||
&& apt-get -y install --no-install-recommends \ | ||
libeigen3-dev \ | ||
libassimp-dev \ | ||
libccd-dev \ | ||
libfcl-dev \ | ||
libboost-all-dev \ | ||
libnlopt-cxx-dev \ | ||
coinor-libipopt-dev \ | ||
libbullet-dev \ | ||
liblz4-dev \ | ||
libode-dev \ | ||
liboctomap-dev \ | ||
libflann-dev \ | ||
libtinyxml2-dev \ | ||
liburdfdom-dev \ | ||
libxi-dev \ | ||
libxmu-dev \ | ||
freeglut3-dev \ | ||
libopenscenegraph-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Install dartpy dependencies | ||
RUN apt-get update \ | ||
&& apt-get -y install --no-install-recommends \ | ||
libpython3-dev \ | ||
pybind11-dev \ | ||
python3 \ | ||
python3-pip \ | ||
python3-pytest \ | ||
python3-distutils \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Compile and install DART and dartpy | ||
COPY . /opt/dart | ||
WORKDIR /opt/dart | ||
RUN cd /opt/dart \ | ||
&& mkdir build \ | ||
&& cd build \ | ||
&& cmake \ | ||
-DCMAKE_INSTALL_PREFIX=/usr/ \ | ||
-DCMAKE_BUILD_TYPE=Release .. \ | ||
-DBUILD_SHARED_LIBS=ON \ | ||
-DDART_BUILD_DARTPY=ON \ | ||
&& make \ | ||
&& make install \ | ||
&& make dartpy \ | ||
&& make install-dartpy | ||
|
||
# Install python dependencies | ||
RUN python3 -m pip install\ | ||
numpy | ||
|
||
WORKDIR "/" |
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
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
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
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
Oops, something went wrong.