25 lines
388 B
Makefile
25 lines
388 B
Makefile
|
.PHONY:
|
||
|
test: test-image
|
||
|
docker run \
|
||
|
--rm \
|
||
|
--interactive \
|
||
|
--volume $(PWD)/:/home/test/ \
|
||
|
local/sig-test \
|
||
|
bats test/test.bats
|
||
|
|
||
|
.PHONY: test-image
|
||
|
test-image:
|
||
|
docker build \
|
||
|
--tag local/sig-test \
|
||
|
--file $(PWD)/test/Dockerfile \
|
||
|
$(PWD)
|
||
|
|
||
|
.PHONY:
|
||
|
test-shell: test-shell
|
||
|
docker run \
|
||
|
--rm \
|
||
|
--interactive \
|
||
|
--volume $(PWD)/:/home/test/ \
|
||
|
local/sig-test \
|
||
|
bash
|