aboutsummaryrefslogtreecommitdiffstats
path: root/certService/Makefile
blob: b1b63b4d3cf3f868d97906a0d7d16109f6251da4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
all: build start stop
.PHONY: build

build:
	@echo "##### Build Cert Service images locally #####"
	mvn clean install -P docker
	@echo "##### DONE #####"
start:
	@echo "##### Start Cert Service #####"
	docker-compose up -d
	@echo "## Configure ejbca ##"
	docker exec aafcert-ejbca /opt/primekey/scripts/ejbca-configuration.sh
	@echo "##### DONE #####"
stop:
	@echo "##### Stop Cert Service #####"
	docker-compose down
	@echo "##### DONE #####"