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:
commit
ecf6e6b226
2
Makefile
2
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)"
|
@echo "*** Don't forget to create a tag. git tag rel-$(VERSION) && git push origin rel-$(VERSION)"
|
||||||
|
|
||||||
ssh:
|
ssh:
|
||||||
chmod 600 image/insecure_key.pub
|
chmod 600 image/insecure_key
|
||||||
@ID=$$(docker ps | grep -F "$(NAME):$(VERSION)" | awk '{ print $$1 }') && \
|
@ID=$$(docker ps | grep -F "$(NAME):$(VERSION)" | awk '{ print $$1 }') && \
|
||||||
if test "$$ID" = ""; then echo "Container is not running."; exit 1; fi && \
|
if test "$$ID" = ""; then echo "Container is not running."; exit 1; fi && \
|
||||||
IP=$$(docker inspect $$ID | grep IPAddr | sed 's/.*: "//; s/".*//') && \
|
IP=$$(docker inspect $$ID | grep IPAddr | sed 's/.*: "//; s/".*//') && \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user