Skip to content

Commit

Permalink
Add docs for the dev-container folder
Browse files Browse the repository at this point in the history
  • Loading branch information
exhuma committed May 24, 2022
1 parent b2a3969 commit 28aecf6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
This folder contains a VS-Code development container definition. When opening
the main poject in VS-Code with the remote-development
(`ms-vscode-remote.vscode-remote-extensionpack`) extension installed, VS-Code
should prompt to "reopen" the folder in a dev-container.

When in this mode, any VS-Code console will run inside that container. The
container contains the required development dependencies.

Additional dependencies (more personalised by the original author) can be
pulled in by executing `bash .devcontainer/init-dev.bash`.
4 changes: 1 addition & 3 deletions .devcontainer/init-container.bash
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,5 @@ sudo apt update
sudo apt -y install \
libnotify-bin \
pandoc \
jq \
vim-nox
git clone https://github.com/exhuma/dotfiles /home/node/dotfiles
jq
npm clean-install
6 changes: 6 additions & 0 deletions .devcontainer/init-dev.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
set -xe
sudo apt update
sudo apt -y install \
vim-nox
git clone https://github.com/exhuma/dotfiles /home/node/dotfiles

0 comments on commit 28aecf6

Please sign in to comment.