summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-07-08 13:11:59 -0600
committermo khan <mo@mokhan.ca>2025-07-21 15:20:39 -0600
commit2ddcc34ca455973598f5693d64103deea41d8d79 (patch)
tree0b3a42aa97bca93c15c67a679c903611e5ab60c1 /Makefile
parent16c27cd885b9c0d1241dfead3120643f0e8c556c (diff)
chore: use minit to start processes from Procfile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 07d65fb..0872ee3 100644
--- a/Makefile
+++ b/Makefile
@@ -20,13 +20,9 @@ setup:
@go mod vendor
@go tool
@if command -v brew >/dev/null 2>&1; then \
- echo "Installing Homebrew packages..."; \
brew bundle; \
- else \
- echo "Homebrew not found, skipping brew bundle"; \
fi
- @echo "Installing Python dependencies..."
- pip install dumb-init
+ @pip install dumb-init
build: bin/authzd bin/sparkled
@@ -42,13 +38,13 @@ test-integration: build-image
test: clean test-unit test-integration
build-image:
- @docker build --no-cache --tag $(IMAGE_TAG) .
+ @docker build --network=host --no-cache --tag $(IMAGE_TAG) .
build-builder-image:
@docker build --target build --tag $(IMAGE_TAG) .
run: clean build
- @go tool godotenv -f .env.local,.env ./bin/entrypoint.sh
+ @go tool godotenv -f .env.local,.env go tool minit
run-authzd: clean build
@go tool godotenv -f .env.local,.env ./bin/authzd