2021-02-03 15:27:14 +01:00
|
|
|
all: build
|
2020-10-31 00:18:29 +01:00
|
|
|
|
|
|
|
build: Makefile
|
2021-02-03 15:27:14 +01:00
|
|
|
buildah bud -t dummy:latest .
|
2020-10-31 00:18:29 +01:00
|
|
|
|
|
|
|
deploy:
|
2020-11-04 10:30:06 +01:00
|
|
|
docker service ps -q dummy || docker service create \
|
2020-10-31 00:18:29 +01:00
|
|
|
--name dummy \
|
|
|
|
dummy:latest
|
|
|
|
update:
|
|
|
|
docker service update --force dummy
|