mirror of
https://github.com/luzifer-docker/archlinux.git
synced 2024-12-20 11:01:23 +00:00
Extend default target to support recovery from broken minimal
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
c2ca42b0a9
commit
e226fb8c03
1 changed files with 7 additions and 2 deletions
9
Makefile
9
Makefile
|
@ -1,7 +1,10 @@
|
|||
DOCKER_ORGANIZATION=luzifer
|
||||
DOCKER_IMAGE:=archlinux
|
||||
|
||||
default: seed
|
||||
default: docker-image_minimal
|
||||
default: docker-image-test_latest
|
||||
default: docker-push_latest
|
||||
|
||||
jenkins: docker-image_minimal
|
||||
jenkins: docker-image-test_latest
|
||||
|
@ -47,9 +50,11 @@ docker-push_%:
|
|||
docker push $(DOCKER_ORGANIZATION)/$(DOCKER_IMAGE):$*
|
||||
|
||||
# Special build target to locally build the first minimal image
|
||||
seed:
|
||||
seed: test_archlinux
|
||||
bash mkroots.sh
|
||||
docker build -t $(DOCKER_ORGANIZATION)/$(DOCKER_IMAGE):latest .
|
||||
docker push $(DOCKER_ORGANIZATION)/$(DOCKER_IMAGE):$*
|
||||
|
||||
test_archlinux:
|
||||
which pacstrap
|
||||
|
||||
.PHONY: rootfs docker-image docker-image-test ci-test docker-push
|
||||
|
|
Loading…
Reference in a new issue