diff --git a/CHANGELOG.md b/CHANGELOG.md index 94d9c28..4b5b6f8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Makefile b/Makefile index 7fd92a4..5e42fb7 100644 --- a/Makefile +++ b/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