-
Notifications
You must be signed in to change notification settings - Fork 690
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support gitpod * Update .gitpod.Dockerfile * Update .gitpod.Dockerfile * Update .gitpod.Dockerfile * push changes * push * test changes * push * Update .gitpod.yml
- Loading branch information
Showing
2 changed files
with
46 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,20 @@ | ||
FROM gitpod/workspace-full-vnc:latest | ||
USER gitpod | ||
RUN if ! grep -q "export PIP_USER=no" "$HOME/.bashrc"; then printf '%s\n' "export PIP_USER=no" >> "$HOME/.bashrc"; fi | ||
|
||
# install ubuntu dependencies | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
RUN sudo apt-get update && \ | ||
sudo apt-get -y install xvfb ffmpeg git build-essential python-opengl | ||
|
||
# install python dependencies | ||
RUN mkdir cleanrl_utils && touch cleanrl_utils/__init__.py | ||
RUN pip install poetry | ||
RUN poetry config virtualenvs.in-project true | ||
|
||
# install mujoco | ||
RUN sudo apt-get -y install wget unzip software-properties-common \ | ||
libgl1-mesa-dev \ | ||
libgl1-mesa-glx \ | ||
libglew-dev \ | ||
libosmesa6-dev patchelf |
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,26 @@ | ||
image: | ||
file: .gitpod.Dockerfile | ||
|
||
tasks: | ||
- init: poetry install | ||
|
||
# vscode: | ||
# extensions: | ||
# - learnpack.learnpack-vscode | ||
|
||
github: | ||
prebuilds: | ||
# enable for the master/default branch (defaults to true) | ||
master: true | ||
# enable for all branches in this repo (defaults to false) | ||
branches: true | ||
# enable for pull requests coming from this repo (defaults to true) | ||
pullRequests: true | ||
# enable for pull requests coming from forks (defaults to false) | ||
pullRequestsFromForks: true | ||
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true) | ||
addComment: true | ||
# add a "Review in Gitpod" button to pull requests (defaults to false) | ||
addBadge: false | ||
# add a label once the prebuild is ready to pull requests (defaults to false) | ||
addLabel: prebuilt-in-gitpod |