-
Notifications
You must be signed in to change notification settings - Fork 520
Dev Container #2903
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
Dev Container #2903
Changes from all commits
26ac053
0569d97
e072bad
38ea746
b31788d
cb3c370
6684e7c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "name": "Codespell Development Environment", | ||
| "image": "mcr.microsoft.com/devcontainers/python:1-3", | ||
| "customizations": { | ||
| "vscode": { | ||
| "extensions": [ | ||
| "github.vscode-github-actions", | ||
| "ms-python.python", | ||
| "ms-python.vscode-pylance" | ||
| ] | ||
| } | ||
| }, | ||
| "postCreateCommand": "bash .devcontainer/post_create.sh" | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @korverdev Could you change above line to: "postCreateCommand": ["bash", ".devcontainer/post_create.sh"]This will avoid spawning an additional shell according to the Development Containers specification:
|
||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| #!/bin/bash | ||
|
|
||
| sudo apt-get update | ||
| sudo apt-get install -y libaspell-dev | ||
|
DimitriPapadopoulos marked this conversation as resolved.
|
||
|
|
||
| pip install --upgrade \ | ||
| aspell-python-py3 \ | ||
| pip \ | ||
| setuptools \ | ||
| setuptools_scm \ | ||
| wheel | ||
| pip install -e '.[dev]' | ||
|
DimitriPapadopoulos marked this conversation as resolved.
|
||
Uh oh!
There was an error while loading. Please reload this page.