2015-10-14 16:29:22 +00:00
|
|
|
.SILENT :
|
|
|
|
.PHONY : test
|
|
|
|
|
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
|
2016-12-28 23:18:06 +00:00
|
|
|
docker pull nginx:1.11.6
|
|
|
|
docker pull nginx:1.11.8-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
|