Makefile: move required steps prior to docker build to separate target

This commit is contained in:
Collin J. Doering 2023-12-31 14:44:55 -05:00
parent 73cc450f6f
commit ae21f99ddb
Signed by: rekahsoft
GPG Key ID: 7B4DEB93212B3022
1 changed files with 4 additions and 1 deletions

View File

@ -24,8 +24,11 @@ $(TARBALL):
size: $(TARBALL)
guix size $$(guix pack -RR -S /bin=bin -S /etc/ssl=etc/ssl -m $(GUIX_MANIFEST))
.PHONY: pre-build
pre-build: $(TARBALL) $(LINKS_TARBALL) $(PASSWD_FILE)
.PHONY: build
build: $(TARBALL) $(LINKS_TARBALL) $(PASSWD_FILE)
build: pre-build
@docker build -t $(IMAGE_TAG) .
.PHONY: run