forked from javanile/vtiger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
39 lines (29 loc) · 789 Bytes
/
Makefile
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
32
33
34
35
36
37
38
39
#!make
include .env
export $(shell sed 's/=.*//' .env)
start: build
@echo "Start vtiger ${version}..."
@docker-compose up --build --force-recreate vtiger
restart: build
@echo "Restart vtiger ${version}..."
@docker-compose down -v
@docker-compose up --build --force-recreate vtiger
bash:
@docker-compose exec vtiger bash
update:
@bash update.sh $${version}
develop:
@bash develop.sh $${version}
build: update
@cp develop-install.sh $${version}
@docker build -t javanile/vtiger:$${version} ./$${version}
push: build
@git add .
@git commit -am "Update images" && true
@git push
@docker login --user=javanile
@docker push javanile/vtiger:$${version}
lint:
@docker run --rm -i hadolint/hadolint < $${version}/Dockerfile
schedule:
@docker-compose exec vtiger schedule