-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
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
Add Docker devcontainer configuration files #8887
Conversation
Copy and install requirements
for more information, see https://pre-commit.ci
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We already have GitPod... Why is this any better than that?
We run on Python 3.11 so please upgrade from bullseye
to bookworm
and remove all comments about Python < 3.11.
Remove all the comments about Node.js because this repo has none of that.
"extensions": [ | ||
"ms-python.python", | ||
"ms-python.vscode-pylance" | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a future PR, it would be cool to add... https://github.com/astral-sh/ruff-vscode
Co-authored-by: Christian Clauss <cclauss@me.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As cclauss mentioned, we have a gitpod config file, and I don't see much value in adding devcontainer config files, primarily due to the fact that this is unlike other repositories, and that it is a group of standalone files that don't require much, if any config
This also only customises for a singular tool, vscode, excluding other text editors/IDE's
Even still, if this is decided to be merged, perhaps it would be ideal to add information on how to set up this container in the CONTRIBUTING.md
Some people might prefer a local development container, and VSCode is a very good IDE, and platform independent, so I thought this might be a good idea |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's see if this AND GitPod can cohabitate without nullifying each other. Contributors can choose their favorite.
Let's reserve the right to revert this contribution if users protest or if it does not bring sufficient value.
@CaedenPH is correct that we need docs in CONTRIBUTING.md so @HManiac74 please create a follow-on PR that helps folks to get started.
* Added Docker container configuration files * Update Dockerfile Copy and install requirements * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Updated Docker devcontainer configuration * Update requierements.txt * Update Dockerfile * Update Dockerfile * Update .devcontainer/devcontainer.json Co-authored-by: Christian Clauss <cclauss@me.com> * Update Dockerfile * Update Dockerfile. Add linebreak --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <cclauss@me.com>
Added configuration files for running the repo in a Docker dev Container