Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions opensim-core/opensim-cpp/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.git
11 changes: 8 additions & 3 deletions opensim-core/opensim-cpp/dockerfile-ubuntu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM stanfordnmbl/opensim-deps
FROM stanfordnmbl/opensim-deps:latest

MAINTAINER Ayman Habib

Expand All @@ -10,6 +10,11 @@ RUN mkdir opensim_build \
-DOPENSIM_C3D_PARSER=ezc3d -DBUILD_TESTING=OFF \
&& make -j8 \
&& make install \
&& rm -rf ../opensim_build
&& rm -rf ../opensim_build \
&& cp /root/opensim_dependencies_install/adol-c/lib64/*.so* /root/opensim_install/lib

# image stored at stanfordnmbl/opensim-cpp
# Set LD_LIBRARY_PATH so executables can load the shard libraries
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/opensim_dependencies_install/simbody/lib:/root/opensim_install/lib
ENV PATH=$PATH:/root/opensim_install/bin

# image stored at stanfordnmbl/opensim-cpp