diff --git a/Makefile b/Makefile index 4f9e180..9f8ef59 100644 --- a/Makefile +++ b/Makefile @@ -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/".*//') && \