Clening of setup script. Add ssh config

This commit is contained in:
2023-10-17 09:47:25 +02:00
parent 2d63016f8a
commit 497f1b1fa6
3 changed files with 54 additions and 31 deletions

View File

@@ -4,6 +4,9 @@ cd "$(dirname "$0")/.."
docker build . -t dotfiles -f test/Dockerfile.devcontainer --force-rm
docker run --rm -it -v $(pwd):/workspaces/test dotfiles zsh
docker run --rm -it \
-v $(pwd):/workspaces/test \
-v $(dirname $SSH_AUTH_SOCK):$(dirname $SSH_AUTH_SOCK) -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK\
dotfiles zsh
docker rmi dotfiles