Skip to content
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

chore: add devcontainer.json for GitHub Codespaces #3862

Merged
merged 1 commit into from
Sep 14, 2020

Conversation

mxschmitt
Copy link
Member

Since more and more people are getting access to GitHub Codespaces and we want to make it for new contributors as easy as possible to contribute to the project I've added a GitHub Codespaces configuration.

This makes it possible for users per one click to get a new instance of the repo, which is based on our "tip of tree" Docker image, installs all our NPM packages, built it and make it ready for running e.g. yarn ctest.

Copy link
Contributor

@arjunattam arjunattam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Thanks for doing this.

"image": "mcr.microsoft.com/playwright:next",
"postCreateCommand": "npm install && npm run build",
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious to know why this is required?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By default it uses /bin/sh which is not very user friendly. On the SuperLinter project of GitHub they are doing that too: https://github.com/github/super-linter/blob/master/.devcontainer/devcontainer.json

@pavelfeldman pavelfeldman merged commit 1d8d89d into microsoft:master Sep 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants