Skip to content

Commit

Permalink
feat: added pre-cooked dependenvies images
Browse files Browse the repository at this point in the history
  • Loading branch information
michele-milesi authored and alexpalms committed Jan 4, 2024
1 parent 79f1bf8 commit 4450c38
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
16 changes: 16 additions & 0 deletions images/sheeprl/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
ARG on
FROM python:${on}

RUN apt-get -qy update && \
apt-get -qy install libgl1 && \
rm -rf /var/lib/apt/lists/* && \
apt-get -qy clean

ENV LANG=C.UTF-8 LC_ALL=C.UTF-8

# Copy arena to tmp since bind-mount is read-only and pip doesn't support
# out-of-tree builds.
RUN --mount=target=/usr/src/arena,type=bind,source=. \
cp -r /usr/src/arena /tmp/arena && \
pip install /tmp/arena[sheeprl] && \
rm -rf /tmp/arena
3 changes: 3 additions & 0 deletions images/sheeprl/on.arg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
3.10-bullseye
3.9-bullseye
3.8-bullseye

0 comments on commit 4450c38

Please sign in to comment.