2015-10-14 16:29:22 +00:00
|
|
|
.SILENT :
|
2016-12-09 23:53:23 +00:00
|
|
|
.PHONY : test test2
|
2015-10-14 16:29:22 +00:00
|
|
|
|
2015-10-14 19:34:30 +00:00
|
|
|
update-dependencies:
|
2016-06-13 06:22:50 +00:00
|
|
|
docker pull jwilder/docker-gen:0.7.3
|
2017-02-05 20:40:29 +00:00
|
|
|
docker pull nginx:1.11.9
|
|
|
|
docker pull nginx:1.11.9-alpine
|
2015-10-14 19:34:30 +00:00
|
|
|
docker pull python:3
|
|
|
|
docker pull rancher/socat-docker:latest
|
|
|
|
docker pull appropriate/curl:latest
|
2016-03-24 13:40:50 +00:00
|
|
|
docker pull docker:1.10
|
2015-10-14 19:34:30 +00:00
|
|
|
|
2016-09-01 15:29:25 +00:00
|
|
|
test-debian:
|
2015-10-14 16:29:22 +00:00
|
|
|
docker build -t jwilder/nginx-proxy:bats .
|
|
|
|
bats test
|
2016-09-01 15:29:25 +00:00
|
|
|
|
|
|
|
test-alpine:
|
|
|
|
docker build -f Dockerfile.alpine -t jwilder/nginx-proxy:bats .
|
|
|
|
bats test
|
|
|
|
|
|
|
|
test: test-debian test-alpine
|
2016-12-09 23:53:23 +00:00
|
|
|
|
|
|
|
test2-debian:
|
|
|
|
$(MAKE) -C test2 test-debian
|
|
|
|
|
|
|
|
test2-alpine:
|
|
|
|
$(MAKE) -C test2 test-alpine
|