kopia lustrzana https://github.com/c9/core
Merge pull request +12056 from c9/b9
mount all of ~/.ssh into the containerpull/248/head
commit
1e0b28a749
|
@ -1,7 +1,7 @@
|
|||
_b9_npm() {
|
||||
local WORKDIR=$1
|
||||
shift
|
||||
docker run --rm -w /home/ubuntu/newclient -v $WORKDIR:/home/ubuntu/newclient -v $HOME/.ssh/id_rsa_deploy:/home/ubuntu/.ssh/id_rsa_deploy:ro --sig-proxy -a STDIN -a STDOUT -a STDERR $(_b9_get_newclient_image) npm "$@"
|
||||
docker run --rm -w /home/ubuntu/newclient -v $WORKDIR:/home/ubuntu/newclient -v $HOME/.ssh:/home/ubuntu/.ssh:ro --sig-proxy -a STDIN -a STDOUT -a STDERR $(_b9_get_newclient_image) npm "$@"
|
||||
# pushd $WORKDIR
|
||||
# npm "$@"
|
||||
# popd
|
||||
|
|
Ładowanie…
Reference in New Issue