From a300c1497251032d5b40cb86e10cab264cb25492 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 6 Sep 2022 00:40:46 +0200 Subject: Reworked the building of the website in a container with buildah --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 45c5283..7fa3d6a 100644 --- a/Makefile +++ b/Makefile @@ -10,6 +10,10 @@ build: ## make build # builds an optimized version of the website in $(DESTDIR) cp public/search/index.html search/ (cd search && CGO_ENABLED=0 go build -ldflags '-s -w -extldflags "-static"' ./search.go) +.PHONY: buildah +buildah: ## make buildah # builds the container images + deploy/build-image.sh + .PHONY: clean clean: ## make clean # removed all $(DESTDIR) contents @echo "----- Cleaning old build -----" -- cgit v1.2.3