2017-10-05 09:26:44 +00:00
|
|
|
DOCKER_IMAGE=ruby
|
|
|
|
|
2017-09-04 17:36:56 +00:00
|
|
|
default: test
|
2017-05-02 12:35:14 +00:00
|
|
|
|
2017-10-05 09:26:44 +00:00
|
|
|
build-docker:
|
|
|
|
docker build -t $(DOCKER_IMAGE) .
|
|
|
|
|
|
|
|
test-nspawn:
|
|
|
|
MODULE=nspawn $(MAKE) -C tests test
|
|
|
|
|
|
|
|
test-docker: build-docker
|
|
|
|
MODULE=docker URL=docker=$(DOCKER_IMAGE) $(MAKE) -C tests test
|
2017-05-02 12:35:14 +00:00
|
|
|
|
2017-10-05 09:26:44 +00:00
|
|
|
test: test-nspawn test-docker
|