radicale: initial commit #11

Manually merged
ryan merged 13 commits from drgrove/radicale into main 2025-08-05 23:49:31 +00:00
2 changed files with 9 additions and 2 deletions
Showing only changes of commit 89efffd2e9 - Show all commits

View File

@ -47,8 +47,8 @@ update-tools:
./src/make/update.sh
.PHONY: shell
shell: out/tools-image.digest
$(call run-container, -v $${PWD}:/home/user/stack:rw, $(shell cat $<), /bin/bash)
shell: build-tools load-tools
$(call run-container, -v $${PWD}:/home/user/stack:rw, $(REGISTRY)/tools:latest, /bin/bash)
.PHONY: credentials
credentials: \
@ -147,6 +147,9 @@ build-%: images/tools/Containerfile | out
cd images/tools
$(call build-container,$*,$(VERSION),$<,$(SOURCE_DATE_EPOCH),$(REVISION))
load-%: build-%
$(call import-container,$*)
out/tools-image.digest: out build-tools
.PHONY: plan

View File

@ -48,3 +48,7 @@ define build-container
$(dir $3) \
| tar -C out/image/$(1) -mx
endef
define import-container
tar -C out/image/$(1) -cf - . | docker load
endef