mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-20 09:39:08 +00:00
Clean up getty Makefile to match others
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
b5ae1260ab
commit
513f661458
@ -7,15 +7,9 @@ DEPS=Dockerfile usr/bin/rungetty.sh
|
|||||||
|
|
||||||
HASH?=$(shell git ls-tree HEAD -- ../$(notdir $(CURDIR)) | awk '{print $$3}')
|
HASH?=$(shell git ls-tree HEAD -- ../$(notdir $(CURDIR)) | awk '{print $$3}')
|
||||||
|
|
||||||
hash:
|
|
||||||
@echo $(HASH)
|
|
||||||
|
|
||||||
tag: $(DEPS)
|
tag: $(DEPS)
|
||||||
docker build --squash --no-cache --network=none -t $(ORG)/$(IMAGE):$(HASH) .
|
docker build --squash --no-cache --network=none -t $(ORG)/$(IMAGE):$(HASH) .
|
||||||
|
|
||||||
test-tag:
|
|
||||||
docker tag $(ORG)/$(IMAGE):$(HASH) getty:test
|
|
||||||
|
|
||||||
push: tag
|
push: tag
|
||||||
DOCKER_CONTENT_TRUST=1 docker pull $(ORG)/$(IMAGE):$(HASH) || \
|
DOCKER_CONTENT_TRUST=1 docker pull $(ORG)/$(IMAGE):$(HASH) || \
|
||||||
DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE):$(HASH)
|
DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE):$(HASH)
|
||||||
|
Loading…
Reference in New Issue
Block a user