Skip to content

Commit

Permalink
Fix rendering mujoco to pixels in docker (#1808) (#1835) (#1838)
Browse files Browse the repository at this point in the history
(cherry picked from commit dba40ed)

Co-authored-by: Gitanshu Sardana <gitanshusardana@gmail.com>
  • Loading branch information
mergify[bot] and gitanshu committed Aug 3, 2020
1 parent e547773 commit 94ecf25
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docker/Dockerfile
Expand Up @@ -83,7 +83,11 @@ RUN mkdir -p $HOME/.mujoco && \
unzip mujoco.zip -d $HOME/.mujoco && \
rm mujoco.zip && \
ln -s $HOME/.mujoco/mujoco200_linux $HOME/.mujoco/mujoco200
ENV LD_LIBRARY_PATH $LD_LIBRARY_PATH:$HOME/.mujoco/mujoco200/bin
# This is a hack required to make mujoco-py compile in gpu mode
USER root
RUN mkdir -p /usr/lib/nvidia-000
USER $user
ENV LD_LIBRARY_PATH $LD_LIBRARY_PATH:$HOME/.mujoco/mujoco200/bin:/usr/lib/nvidia-000

# Fixes Segmentation Fault
# See: https://github.com/openai/mujoco-py/pull/145#issuecomment-356938564
Expand Down

0 comments on commit 94ecf25

Please sign in to comment.