tests/pkg: Update remaining builds to pkg/package.mk

Also update the base tools/alpine to latest.

Signed-off-by: Ian Campbell <ijc@docker.com>
This commit is contained in:
Ian Campbell
2017-07-26 12:21:56 +01:00
parent 37de9c8c1d
commit acbe38d8a1
9 changed files with 19 additions and 67 deletions

View File

@@ -1,15 +1,5 @@
.PHONY: tag push
default: push
ORG?=linuxkit
IMAGE=test-ltp
DEPS=Dockerfile Makefile check.sh
DEPS=check.sh
NETWORK=1
HASH?=$(shell git ls-tree HEAD -- ../$(notdir $(CURDIR)) | awk '{print $$3}')
tag: $(DEPS)
docker build --no-cache -t $(ORG)/$(IMAGE):$(HASH) .
push: tag
DOCKER_CONTENT_TRUST=1 docker pull $(ORG)/$(IMAGE):$(HASH) || \
DOCKER_CONTENT_TRUST=1 docker push $(ORG)/$(IMAGE):$(HASH)
include ../../../pkg/package.mk