summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-06-25 06:51:29 +0100
committerJoe Carstairs <me@joeac.net>2026-06-25 11:17:01 +0100
commit86ec9e9d54c581b3e844462ffe79b6884e8fb183 (patch)
treeeee7fab1c30de8700e8dc3847e4333fe2c6fdca9 /Makefile
parent78fe3e79567c4b06abc58b29c7e7882e8adc9d78 (diff)
uses rootless podman in Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 83680d2..46935be 100644
--- a/Makefile
+++ b/Makefile
@@ -18,13 +18,13 @@ container_image_name = $(REGISTRY_DOMAIN)/$(REGISTRY_USER)/joeac.net-$(module)
define build_module_rule =
.PHONY: build_$(module)
build_$(module): make_$(module) $(module).Dockerfile
- sudo podman-compose build $(module)
+ podman-compose build $(module)
endef
define push_module_rule =
.PHONY: push_$(module)
push_$(module): login_registry build_$(module)
- sudo podman push $(container_image_name)
+ podman push $(container_image_name)
endef
define make_module_rule =
@@ -52,7 +52,7 @@ $(foreach module,$(MODULES),$(eval $(call module_env_rule)))
.PHONY: login_registry
login_registry:
- sudo podman login $(REGISTRY_DOMAIN)
+ podman login $(REGISTRY_DOMAIN)
.PHONY: clean
clean: