summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorJulien Dessaux2024-09-20 22:53:48 +0200
committerJulien Dessaux2024-09-20 23:00:22 +0200
commitf66d676f7e3a526d4ea62dc8b685f78638182057 (patch)
treecedfcecbccbc52a00e17de1bfda60b517050d543 /GNUmakefile
parentchore(tooling): add a Dockerfile along with some makefile container targets (diff)
downloadods-f66d676f7e3a526d4ea62dc8b685f78638182057.tar.gz
ods-f66d676f7e3a526d4ea62dc8b685f78638182057.tar.bz2
ods-f66d676f7e3a526d4ea62dc8b685f78638182057.zip
chore(tooling): Fixed container build layers caching
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 7b7c475..1fd42c1 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -52,7 +52,9 @@ run: ## run the code
##### Containers ###############################################################
.PHONY: container-build
container-build: ## build the container image
+ printf "Dockerfile GNUmakefile go.mod go.sum index.html main.go ods.txt" | xargs shasum >checksums
podman build \
+ -v $$PWD:/usr/src/app \
-t $(CONTAINER_REGISTRY)/ods:$(CONTAINER_TAG) \
.