Skip to content

ENH: Create a devcontainer.json env to work with VS Code in Containers #30614

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

Closed
yehoshuadimarsky opened this issue Jan 2, 2020 · 3 comments · Fixed by #30638
Closed

ENH: Create a devcontainer.json env to work with VS Code in Containers #30614

yehoshuadimarsky opened this issue Jan 2, 2020 · 3 comments · Fixed by #30638
Labels
Build Library building on various platforms Enhancement

Comments

@yehoshuadimarsky
Copy link
Contributor

yehoshuadimarsky commented Jan 2, 2020

VS Code has a great feature where you can work on a repo fully within a Docker container, either on your computer (called Remote - Containers) or remotely on Azure hosted by them (called VS Code Online). This could be particularly useful for setting up a quick dev environment to work on the pandas codebase, and not have to manually go through the setup steps in the docs.

Per the VS Code docs (https://code.visualstudio.com/docs/remote/containers and https://docs.microsoft.com/en-us/visualstudio/online/reference/configuring) you can create a .devcontainer.json file in the root of the repo that will contain everything needed to setup the environment, similar to the conda environment.yml file. You can also create a DockerFile inside a devcontainer folder to use with the devcontainer.json file.

I will try to put something together for this, figured I'd first start an issue here so that if anyone else is working on this we can collaborate and not duplicate our work.

@yehoshuadimarsky
Copy link
Contributor Author

@yehoshuadimarsky yehoshuadimarsky changed the title ENH: Create a .devcontainer.json file for VS Code Online work ENH: Create a devcontainer.json env to work with VS Code in Containers Jan 2, 2020
@WillAyd
Copy link
Member

WillAyd commented Jan 2, 2020

sounds Interesting - would be curious to see how it works if you push a PR

@yehoshuadimarsky
Copy link
Contributor Author

@WillAyd just pushed a PR, check it out.

@gfyoung gfyoung added Build Library building on various platforms Enhancement labels Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms Enhancement
Projects
None yet
3 participants