Skip to content

Commit 08ce33a

Browse files
committed
forward ssh-agent into the container for the docker-compose file
1 parent 50c7695 commit 08ce33a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docker-compose.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ services:
88
- ~/aosp:/aosp
99
- ~/.gitconfig:/home/aosp/.gitconfig
1010
# uncomment if you want this
11-
#- ~/.ssh/:/home/.ssh/
11+
- ~/.ssh:/home/aosp/.ssh
12+
- $SSH_AUTH_SOCK:/tmp/ssh_auth
13+
environment:
14+
- SSH_AUTH_SOCK=/tmp/ssh_auth

0 commit comments

Comments
 (0)