haproxy/Makefile
Petr "Stone" Hracek a743904ab4 Update tests and fixing Makefile
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
2017-04-05 16:04:11 +02:00

13 lines
269 B
Makefile

# Makefile which covers tests
IMAGE_NAME = haproxy
build:
docker build --tag=$(IMAGE_NAME) .
run: build
docker run -d $(IMAGE_NAME)
test: build
cd tests; MODULE=docker URL="docker=$(IMAGE_NAME)" make all
cd tests; MODULE=rpm URL="docker=$(IMAGE_NAME)" make all