From ac3103236e149dbed95e4195d4d309e27e215497 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Wed, 26 Jul 2017 13:42:06 +0100 Subject: [PATCH] toos/guestfs: Enable content trust globally This makes the need to pull $(BASE) redundant. Rebuild resulted in linuxkit/guestfs:aecc40bf84ce4f4238e06934c46d7cc570a39eed@sha256:62e810869e83dabe04af7ac8fcd81d9f177d986a3424dcb9c4eb5439993c962f Signed-off-by: Ian Campbell --- tools/guestfs/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/guestfs/Makefile b/tools/guestfs/Makefile index 5dc399b25..0813f0dde 100644 --- a/tools/guestfs/Makefile +++ b/tools/guestfs/Makefile @@ -1,12 +1,12 @@ .PHONY: tag push -BASE=debian:stretch IMAGE=guestfs +export DOCKER_CONTENT_TRUST=1 + default: push iid: Dockerfile - DOCKER_CONTENT_TRUST=1 docker pull $(BASE) tar cf - $^ | docker build --no-cache --iidfile iid - hash: Makefile iid