Skip to content

Commit

Permalink
Docker - Minor build fix (openai#286)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppaquette authored and gdb committed Aug 12, 2016
1 parent dda87dc commit ee7ba41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bin/docker_entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e

path=$(cd $(dirname "$0") && pwd)

[ -z ${MUJOCO_KEY_BUNDLE+x} ] || ( mkdir -p ~/.mujoco && curl https://openai-public.s3-us-west-2.amazonaws.com/mujoco/$MUJOCO_KEY_BUNDLE.tar.gz | tar xz -C ~/.mujoco )
[ -z "${MUJOCO_KEY_BUNDLE}" ] || ( mkdir -p ~/.mujoco && curl https://openai-public.s3-us-west-2.amazonaws.com/mujoco/$MUJOCO_KEY_BUNDLE.tar.gz | tar xz -C ~/.mujoco )

# Set up display; otherwise rendering will fail
rm -f /tmp/.X12-lock
Expand Down
8 changes: 4 additions & 4 deletions test.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ RUN apt-get update \

WORKDIR /usr/local/gym
RUN mkdir -p gym && touch gym/__init__.py
COPY ./gym/version.py ./gym
COPY ./requirements.txt .
COPY ./setup.py .
COPY ./tox.ini .
COPY ./gym/version.py ./gym/
COPY ./requirements.txt ./
COPY ./setup.py ./
COPY ./tox.ini ./

RUN pip install tox
# Install the relevant dependencies. Keep printing so Travis knows we're alive.
Expand Down

0 comments on commit ee7ba41

Please sign in to comment.