2017-07-18 11:55:37 +00:00
|
|
|
|
2019-10-18 09:33:44 +00:00
|
|
|
USERNAME:=glenux
|
|
|
|
IMAGE:=$(shell basename "$$(pwd)")
|
|
|
|
TAG:=$(shell TZ=UTC date +"%Y%m%d")
|
2019-02-23 16:58:58 +00:00
|
|
|
|
2019-10-18 09:33:44 +00:00
|
|
|
all:
|
2017-07-18 11:55:37 +00:00
|
|
|
|
|
|
|
build:
|
2019-10-18 09:33:44 +00:00
|
|
|
docker build -t $(USERNAME)/$(IMAGE):$(TAG) .
|
2017-07-18 11:55:37 +00:00
|
|
|
|
|
|
|
run:
|
2019-10-18 09:33:44 +00:00
|
|
|
# remplir ici
|
|
|
|
|
|
|
|
test: build
|
|
|
|
# remplir ici
|
|
|
|
|
|
|
|
# on produit des binaires, on les stocke qqpart
|
|
|
|
#
|
|
|
|
deliver:
|
|
|
|
# remplir ici
|
2017-07-18 11:55:37 +00:00
|
|
|
|
2019-10-18 09:33:44 +00:00
|
|
|
# on utilise les binaires pour faire fonctionner le service
|
|
|
|
# en ligne
|
|
|
|
#
|
|
|
|
# deploy:
|
|
|
|
# # ...
|
2017-07-18 11:55:37 +00:00
|
|
|
|