Skip to content

Commit

Permalink
Add DEV_WORKSPACE environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
erichlf committed Jun 4, 2024
1 parent 9cd1f9b commit d9e126a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@
"workspaceMount": "source=${localWorkspaceFolder},target=/home/my-app/.local/share/nvim/lazy/nvim-devcontainer-cli/,type=bind",
"workspaceFolder": "/home/my-app/.local/share/nvim/lazy/nvim-devcontainer-cli/",
"remoteUser": "my-app",
"mounts": [],
"containerEnv": {
"DEV_WORKSPACE": "${containerWorkspaceFolder}",
},
"mounts": [
"type=bind,source=${localEnv:HOME}/.ssh,target=/home/my-app/.ssh,readonly",
],
"features": {
"ghcr.io/rocker-org/devcontainer-features/apt-packages:1": {
"packages": "neovim,stow,zsh,fzf"
"packages": "neovim,stow,zsh,fzf,python3-pip"
}
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ make assumptions about how you work.
-- installed: "https://github.com/erichlf/dotfiles"
-- This is an example for configuring other dotfiles inside the docker container
dotfiles_repository = "https://github.com/erichlf/dotfiles.git",
dotfiles_branch = "main", -- branch to clone from dotfiles_repository`
dotfiles_branch = "devcontainer-cli", -- branch to clone from dotfiles_repository`
dotfiles_targetPath = "~/dotfiles", -- location to install dotfiles
dotfiles_intallCommand = "install.sh", -- script to run after dotfiles are cloned
shell = "bash", -- shell to use when executing commands
Expand Down

0 comments on commit d9e126a

Please sign in to comment.