1
0
mirror of /repos/baseimage-docker.git synced 2026-02-26 17:32:03 +01:00

Add unit tests

This commit is contained in:
Hongli Lai (Phusion)
2014-02-03 17:01:11 +01:00
parent 64c7d8be7c
commit 1463b81942
3 changed files with 60 additions and 1 deletions

View File

@@ -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