-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
25 create a devcontainer for development #26
Merged
Merged
Conversation
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
First try with only starting a pygame window in windows from a docker container
only for testing purposes to check if a pygame window gets launched on windows
…nt setup first example
…indow setup on Windows 11 mainly to remember all notes
…indow setup on Windows 11
…fferent operating systems
…indow setup on Windows 11
adjust install commands |
Should I install the requirements in the dockerfile or in the devcontainer? |
This commit updates the devcontainer.json file to include post-create commands for installing project dependencies and packages. The commands include installing the requirements.txt file, the requirements.txt file in the fast-pysf directory, and the project itself. This ensures that the development environment is properly set up with all the necessary dependencies.
This commit adds the following VS Code extensions to the devcontainer.json file: - ms-python.python - ms-vscode-remote.remote-containers - GitHub.vscode-pull-request-github - GitHub.copilot - mhutchie.git-graph - ms-python.pylint - genieai.chatgpt-vscode These extensions enhance the development experience by providing additional functionality and tools within the VS Code editor.
This commit adds the "git submodule update --init --recursive" command to the postCreateCommand section of the devcontainer.json file. This command ensures that the git submodules are properly initialized and updated when creating the development container. This is necessary for the project to function correctly.
This commit updates the devcontainer Dockerfile to use the nvidia/cuda:12.4.1-base-ubuntu22.04 base image instead of the python:3.9 image. This change is made to support GPU acceleration in the development environment.
This commit updates the postCreate.sh script to include commands for installing project dependencies. The script now runs "pip install -r requirements.txt" to install the main project dependencies, "pip install -r fast-pysf/requirements.txt" to install the dependencies for the fast-pysf submodule, and "pip install -e ." and "pip install -e fast-pysf" to install the project itself and the fast-pysf submodule in editable mode. This ensures that the development environment is properly set up with all the necessary dependencies.
… new post create command This commit adds the "ms-azuretools.vscode-docker" extension to the devcontainer.json file. This extension enhances the development experience by providing Docker-related functionality and tools within the VS Code editor.
…ubuntu20.04 This commit updates the devcontainer Dockerfile to use the nvidia/cuda:11.6.1-base-ubuntu20.04 base image instead of the nvidia/cuda:12.4.1-base-ubuntu22.04 image. This change is made to ensure compatibility with the CUDA version required for GPU acceleration in the development environment.
…ubuntu22.04 Helps with using python>=3.9 = 3.10 for typing issues
Proper testing with gpu integration would be required. but x11 forwarding works under windows. |
…me-ubuntu22.04 use runtime instead of base to have nvidia-smi to check gpu availability
chore: Update devcontainer.json to include "--gpus=all" in runArgs This commit modifies the devcontainer.json file to include the "--gpus=all" flag in the runArgs section. This flag enables GPU acceleration in the development environment, allowing for the use of GPUs for computational tasks. This change is made to ensure compatibility with the recent updates to the devcontainer Dockerfile that use the nvidia/cuda base image.
This commit adds the "eamodio.gitlens" extension to the devcontainer.json file. GitLens enhances the development experience by providing advanced Git functionality and tools within the VS Code editor.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.