mirror of
https://github.com/luzifer-docker/archlinux.git
synced 2024-12-20 19:11:24 +00:00
Ensure that the image does not include a private key
This commit is contained in:
parent
9a19fbb335
commit
4aa93742cb
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -18,6 +18,8 @@ docker-image-test: docker-image
|
||||||
# FIXME: /etc/mtab is hidden by docker so the stricter -Qkk fails
|
# 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 -Sy && /usr/bin/pacman -Qqk"
|
||||||
docker run --rm $(DOCKER_USER)/$(DOCKER_IMAGE) sh -c "/usr/bin/pacman -Syu --noconfirm docker && docker -v"
|
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-push: docker-image-test
|
||||||
docker login -u $(DOCKER_USER)
|
docker login -u $(DOCKER_USER)
|
||||||
|
|
Loading…
Reference in a new issue