Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Added check for python 3.6 to not install mujoco as no version exists
  • Loading branch information
pseudo-rnd-thoughts committed May 24, 2022
commit 46b3a1ca9511060d8668e6149f4367c60c646798
4 changes: 3 additions & 1 deletion py.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/.mujoco/mujoco210/bin
COPY . /usr/local/gym/
WORKDIR /usr/local/gym/

RUN pip install .[noatari] && pip install -r test_requirements.txt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to specify that it has to be 3.6.15? I'm not sure what the reason for this is exactly, but I'm guessing this should apply to all 3.6.x versions

Copy link
Contributor Author

@pseudo-rnd-thoughts pseudo-rnd-thoughts May 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is fine because the python foundation is not releasing any more python versions and this dockerfile is only called by the CI which uses the latest version of each python, i.e. only python 3.6.15 will be used

RUN if [[ python:$PYTHON_VERSION == 3.6 ]] ; \
then pip install .[nomujoco] && pip install -r test_requirements.txt ; \
else pip install .[noatari] && pip install -r test_requirements.txt ; fi

ENTRYPOINT ["/usr/local/gym/bin/docker_entrypoint"]
1 change: 0 additions & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
lz4~=3.1
pytest~=6.2
pytest-forked~=1.3