https://github.com/stuartleeks/dotfiles-starter
Starter/demo repo for working with dotfiles and VS Code Remote-Containers
https://github.com/stuartleeks/dotfiles-starter
Last synced: about 1 year ago
JSON representation
Starter/demo repo for working with dotfiles and VS Code Remote-Containers
- Host: GitHub
- URL: https://github.com/stuartleeks/dotfiles-starter
- Owner: stuartleeks
- License: mit
- Created: 2022-05-11T09:19:53.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-11T10:09:13.000Z (about 4 years ago)
- Last Synced: 2025-02-17T10:49:09.918Z (over 1 year ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotfiles-starter
Starter/demo repo for working with dotfiles and VS Code Remote-Containers. See the [Remote-Containers docs](https://code.visualstudio.com/docs/remote/containers#_personalizing-with-dotfile-repositories) for more info.
There are two install scripts in this repo: `install.sh` and `install-devcontainer.sh`.
The idea is to use `install.sh` on your host and configure Remote-Containers to use `install-devcontainer.sh`.
`install-devcontainer.sh` sets a `DEV_CONTAINER` environment variable and then calls `install.sh`. This allows you to test for the `DEV_CONTAINER` environment variable to have config that only applies in a dev container (or not in a dev container).