diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 8d05b96..e693c66 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -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" } } } diff --git a/README.md b/README.md index 88bc700..de0c368 100644 --- a/README.md +++ b/README.md @@ -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