From 4aa93742cb353a77cdc8adf63659a620ac593050 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sun, 23 Apr 2017 15:11:34 +0200 Subject: [PATCH] Ensure that the image does not include a private key --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index fea513f..cd13050 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,8 @@ docker-image-test: docker-image # FIXME: /etc/mtab is hidden by docker so the stricter -Qkk fails docker run --rm $(DOCKER_USER)/$(DOCKER_IMAGE) sh -c "/usr/bin/pacman -Sy && /usr/bin/pacman -Qqk" docker run --rm $(DOCKER_USER)/$(DOCKER_IMAGE) sh -c "/usr/bin/pacman -Syu --noconfirm docker && docker -v" + # Ensure that the image does not include a private key + ! docker run --rm pierres/archlinux pacman-key --lsign-key pierre@archlinux.de docker-push: docker-image-test docker login -u $(DOCKER_USER)