Makefile with build no cacheMakefile with build no cache
This commit is contained in:
parent
76b4efa3fc
commit
baa3f9649c
|
@ -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
|
||||
|
|
5
Makefile
5
Makefile
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue