1
0
mirror of /repos/baseimage-docker.git synced 2025-12-30 08:01:31 +01:00

Merge pull request #90 from yebyen/patch-1

needed for insecure key usage
This commit is contained in:
Hongli Lai 2014-06-17 13:03:48 +02:00
commit ecf6e6b226

View File

@ -20,7 +20,7 @@ release: test tag_latest
@echo "*** Don't forget to create a tag. git tag rel-$(VERSION) && git push origin rel-$(VERSION)"
ssh:
chmod 600 image/insecure_key.pub
chmod 600 image/insecure_key
@ID=$$(docker ps | grep -F "$(NAME):$(VERSION)" | awk '{ print $$1 }') && \
if test "$$ID" = ""; then echo "Container is not running."; exit 1; fi && \
IP=$$(docker inspect $$ID | grep IPAddr | sed 's/.*: "//; s/".*//') && \