-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added pre-cooked dependenvies images
- Loading branch information
1 parent
79f1bf8
commit 4450c38
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
3.10-bullseye | ||
3.9-bullseye | ||
3.8-bullseye |