mirror of
/repos/baseimage-docker.git
synced 2026-02-26 17:32:03 +01:00
Merge tag 'rel-0.9.18' into rasberrypi-0.9.18
This commit is contained in:
6
Makefile
6
Makefile
@@ -1,5 +1,5 @@
|
||||
NAME = aiko/baseimage-pi
|
||||
VERSION = 0.9.16
|
||||
VERSION = 0.9.18
|
||||
|
||||
.PHONY: all build test tag_latest release ssh
|
||||
|
||||
@@ -21,9 +21,9 @@ 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
|
||||
chmod 600 image/services/sshd/keys/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/".*//') && \
|
||||
echo "SSHing into $$IP" && \
|
||||
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i image/insecure_key root@$$IP
|
||||
ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i image/services/sshd/keys/insecure_key root@$$IP
|
||||
|
||||
Reference in New Issue
Block a user