Reworked the building of the website in a container with buildah
This commit is contained in:
parent
ae86aba801
commit
a300c14972
2 changed files with 39 additions and 26 deletions
4
Makefile
4
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 -----"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue