a5499de9e0
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
17 lines
328 B
Makefile
17 lines
328 B
Makefile
IMAGE_NAME = ruby
|
|
|
|
MODULEMDURL=file://ruby.yaml
|
|
|
|
default: run
|
|
|
|
build:
|
|
docker build --tag=$(IMAGE_NAME) .
|
|
|
|
run: build
|
|
docker run -d $(IMAGE_NAME)
|
|
|
|
test: build
|
|
cd tests; MODULE=docker MODULEMD=$(MODULEMDURL) URL="docker=$(IMAGE_NAME)" make all
|
|
cd tests; MODULE=rpm MODULEMD=$(MODULEMDURL) URL="docker=$(IMAGE_NAME)" make all
|
|
|