-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
17 lines (13 loc) · 758 Bytes
/
Makefile
File metadata and controls
17 lines (13 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# vim: set tabstop=8 softtabstop=8 noexpandtab:
.PHONY: help
help: ## Displays this list of targets with descriptions
@grep -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[32m%-30s\033[0m %s\n", $$1, $$2}'
.PHONY: token
token: ## Refresh ČSAS access token (expires in 5 minutes!) - run before any testing
EASE_LOGGER=console csas-access-token -t`csas-access-token -l | tail -n 1 | awk '{print $$2}'` -o.env
buildimage:
docker build -f Containerfile -t spojenet/csas-sharepoint:latest .
buildx:
docker buildx build -f Containerfile . --push --platform linux/arm/v7,linux/arm64/v8,linux/amd64 --tag spojenet/csas-sharepoint:latest
drun:
docker run --env-file .env spojenet/csas-sharepoint:latest