Skip to content

Commit 912e01a

Browse files
robbyoconnorDocker AOSP
authored and
Docker AOSP
committed
forward ssh-agent into the container for the docker-compose file
1 parent a38bf20 commit 912e01a

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)