From 513f661458b7dcac61732f01799f65312e2e347d Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Thu, 8 Jun 2017 11:02:48 +0100 Subject: [PATCH 1/2] Clean up getty Makefile to match others Signed-off-by: Justin Cormack --- pkg/getty/Makefile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/pkg/getty/Makefile b/pkg/getty/Makefile index bdff9c392..b8dfa8c5f 100644 --- a/pkg/getty/Makefile +++ b/pkg/getty/Makefile @@ -7,15 +7,9 @@ DEPS=Dockerfile usr/bin/rungetty.sh HASH?=$(shell git ls-tree HEAD -- ../$(notdir $(CURDIR)) | awk '{print $$3}') -hash: - @echo $(HASH) - tag: $(DEPS) docker build --squash --no-cache --network=none -t $(ORG)/$(IMAGE):$(HASH) . -test-tag: - docker tag $(ORG)/$(IMAGE):$(HASH) getty:test - push: tag DOCKER_CONTENT_TRUST=1 docker pull $(ORG)/$(IMAGE):$(HASH) || \ DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE):$(HASH) From 9d4aed42f1517ac48673643ce68f22a6cc79ed0e Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Thu, 8 Jun 2017 11:05:22 +0100 Subject: [PATCH 2/2] Update examples/getty with new hash since Makefile changed Signed-off-by: Justin Cormack --- examples/getty.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/getty.yml b/examples/getty.yml index df55db842..62e9722c9 100644 --- a/examples/getty.yml +++ b/examples/getty.yml @@ -16,7 +16,7 @@ services: - name: rngd image: "linuxkit/rngd:1fa4de44c961bb5075647181891a3e7e7ba51c31" - name: getty - image: "linuxkit/getty:6a9fabaa705c5dddba58d1b8fe56c7f9ee4ab813" + image: "linuxkit/getty:148946d72d1c96df3ea91cb8ee4f9583cd3cc5c2" # to make insecure with passwordless root login, uncomment following lines #env: # - INSECURE=true