Makefile with build no cacheMakefile with build no cache

This commit is contained in:
ofreax 2015-12-14 19:26:21 +01:00
parent 76b4efa3fc
commit baa3f9649c
2 changed files with 5 additions and 1 deletions

View File

@ -2,6 +2,7 @@
## 0.2.0
- Upgrade baseimage: light-baseimage:0.2.0
- Makefile with build no cache
## 0.1.9
- Upgrade baseimage: light-baseimage:0.1.5

View File

@ -1,13 +1,16 @@
NAME = osixia/keepalived
VERSION = 0.2.0
.PHONY: all build test tag_latest release
.PHONY: all build build-nocache test tag_latest release
all: build
build:
docker build -t $(NAME):$(VERSION) --rm image
build-nocache:
docker build -t $(NAME):$(VERSION) --no-cache --rm image
test:
env NAME=$(NAME) VERSION=$(VERSION) bats test/test.bats