1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-11-21 19:36:30 +00:00

makefile: update docker images before running tests

This commit is contained in:
Thomas LEVEIL 2015-10-14 19:34:30 +00:00
parent 1ea74e9b0a
commit 66d401c075
2 changed files with 9 additions and 6 deletions

View File

@ -1,6 +1,14 @@
.SILENT :
.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:
docker build -t jwilder/nginx-proxy:bats .
bats test

View File

@ -10,12 +10,7 @@ dependencies:
- sudo add-apt-repository ppa:duggan/bats --yes
- sudo apt-get update -qq
- sudo apt-get install -qq bats
- docker pull jwilder/docker-gen
- docker pull nginx
- docker pull python:3
- docker pull rancher/socat-docker
- docker pull appropriate/curl
- docker pull docker:1.7
- make update-dependencies
test:
override: