Use the user's ssh key automatically in ssh examples

This requires moby tool update to support `~` in paths, but
makes everything much nicer.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2017-06-12 17:11:10 +02:00
parent e41bd3a546
commit c2f2141473
8 changed files with 22 additions and 8 deletions

View File

@@ -20,7 +20,7 @@ endif
PREFIX?=/usr/local/
MOBY_COMMIT=e0aac90f4476c7dadfec9ab4116cf1363e51ce77
MOBY_COMMIT=d8cc1b3f08df02ad563d3f548ac2527931a925a6
bin/moby: Makefile | bin
docker run --rm --log-driver=none $(CROSS) $(GO_COMPILE) --clone-path github.com/moby/tool --clone https://github.com/moby/tool.git --commit $(MOBY_COMMIT) --package github.com/moby/tool/cmd/moby --ldflags "-X main.GitCommit=$(GIT_COMMIT) -X main.Version=$(VERSION)" -o $@ > tmp_moby_bin.tar
tar xf tmp_moby_bin.tar > $@