aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJulien Dessaux2022-09-06 00:40:46 +0200
committerJulien Dessaux2022-09-06 00:45:24 +0200
commita300c1497251032d5b40cb86e10cab264cb25492 (patch)
tree13d94ba8a54198802e49e770c8a48127c969354f /Makefile
parentwording/typos (diff)
downloadwww-a300c1497251032d5b40cb86e10cab264cb25492.tar.gz
www-a300c1497251032d5b40cb86e10cab264cb25492.tar.bz2
www-a300c1497251032d5b40cb86e10cab264cb25492.zip
Reworked the building of the website in a container with buildah
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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 -----"