Skip to content
Snippets Groups Projects
Verified Commit 9b2f07a2 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

cli: Add preflight checks to Makefile

parent cc8b431d
No related branches found
No related tags found
No related merge requests found
...@@ -2,9 +2,14 @@ ...@@ -2,9 +2,14 @@
include ../utils/help.mk include ../utils/help.mk
.PHONY: preflight
preflight:
# Check for required tools
command -v podman > /dev/null
.PHONY: install .PHONY: install
install: ## Install koolbox, the Kubernetes Toolbox for SI-Infrastructure install: preflight ## Install koolbox, the Kubernetes Toolbox for SI-Infrastructure
install -m 755 ./koolbox ~/bin/koolbox install -m 755 ./koolbox ~/bin/koolbox
build: ## Build container locally instead of using one from upstream build: preflight ## Build container locally instead of using one from upstream
podman build -t quay.io/sheogorath/koolbox:latest . podman build -t quay.io/sheogorath/koolbox:latest .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment