mirror of
https://github.com/thib8956/nginx-proxy
synced 2024-11-22 11:56:31 +00:00
Merge pull request #265 from thomasleveil/makefile
makefile: add target to update docker images tests depend on
This commit is contained in:
commit
defed25585
8
Makefile
8
Makefile
@ -1,6 +1,14 @@
|
|||||||
.SILENT :
|
.SILENT :
|
||||||
.PHONY : test
|
.PHONY : test
|
||||||
|
|
||||||
|
update-dependencies:
|
||||||
|
docker pull jwilder/docker-gen:latest
|
||||||
|
docker pull nginx:latest
|
||||||
|
docker pull python:3
|
||||||
|
docker pull rancher/socat-docker:latest
|
||||||
|
docker pull appropriate/curl:latest
|
||||||
|
docker pull docker:1.7
|
||||||
|
|
||||||
test:
|
test:
|
||||||
docker build -t jwilder/nginx-proxy:bats .
|
docker build -t jwilder/nginx-proxy:bats .
|
||||||
bats test
|
bats test
|
||||||
|
@ -10,12 +10,7 @@ dependencies:
|
|||||||
- sudo add-apt-repository ppa:duggan/bats --yes
|
- sudo add-apt-repository ppa:duggan/bats --yes
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -qq bats
|
- sudo apt-get install -qq bats
|
||||||
- docker pull jwilder/docker-gen
|
- make update-dependencies
|
||||||
- docker pull nginx
|
|
||||||
- docker pull python:3
|
|
||||||
- docker pull rancher/socat-docker
|
|
||||||
- docker pull appropriate/curl
|
|
||||||
- docker pull docker:1.7
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
|
Loading…
Reference in New Issue
Block a user