mirror of
/repos/baseimage-docker.git
synced 2026-02-26 17:32:03 +01:00
Add unit tests
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,13 +1,16 @@
|
||||
NAME = phusion/baseimage
|
||||
VERSION = 0.9.3
|
||||
|
||||
.PHONY: all build tag_latest release
|
||||
.PHONY: all build test tag_latest release
|
||||
|
||||
all: build
|
||||
|
||||
build:
|
||||
docker build -t $(NAME):$(VERSION) -rm image
|
||||
|
||||
test:
|
||||
env NAME=$(NAME) VERSION=$(VERSION) ./test/runner.sh
|
||||
|
||||
tag_latest:
|
||||
docker tag $(NAME):$(VERSION) $(NAME):latest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user